We are rehosting applications from Mainframe to UNIX. How to achieve EBCDIC sort order in UNIX. Is there a way to set LC_COLLATE and enforce PERL sort to use EBCDIC order?
Another option i tried is to convert the ASCII file into EBCDIC (using convert EBCDIC functions), sort and convert it back to ASCII (using convert EBCDIC functions). Doesn't seem to work.