in reply to EBCDIC sort
The Wikipedia entry for EBCDIC has a code conversion chart; if all else fails, you could use that.
I also recommend looking at perldoc perlebcdic.
Alex / talexb / Toronto
"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds