michael g schwern ftnhszcpoboxcom chun bing ge wrote patch question pls let know thanks hi thanks patches suggestion better way write stands right duplicating lot code differences appear way sort works sort routine sort array normally asciibetical ebcidicical rather change expected outputs tests would better make sort routine explicit sort cmp b array assume act ascii ebcidic platforms duplication expected output necessary magic orda blocks either example code would become hash09 lock_keyshashkeyshashaf okinternalssvreadonlyhashlock_keys args ddst hidden sort cmp b hidden_keyshash legal sort cmp b legal_keyshash keys sort cmp b keyshash ishidden b c e f lock_keys hidden ddst 3 islegal 0 2 4 6 8 b c e f lock_keys legal ddst 3 iskeys 0 2 4 6 8 lock_keys keys work fine ascii ebcidic technique applied recent patches homespringperlperlcurrentexthashutiltutilt 20060627 012157000000000 0800 homespringpatchchgfileexthashutiltutilt 20070910 100714000000000 0800 4027 40212 legalsortlegal_keyshash keyssortkeyshash ishiddena b c e flock_keys hidden ddst 3 islegal0 2 4 6 8 b c e flock_keys legal ddst 3 orda 193 islegala b c e f 0 2 4 6 8lock_keys legal ddst 3 else islegal0 2 4 6 8 b c e flock_keys legal ddst 3 iskeys0 2 4 6 8lock_keys keys life like sewer get depends put tom lehrer wed 06 aug 2008 210445 0400 exthashutiltutilt failed ebcdic platform