I’m having issues sorting in Perl having different results in Windows and Unix.
The characters are: a – _ 1 2
In Windows: _ 1 2 - a
In Unix: _ - 1 2 a
I’m guessing the locale has something to do with this – what can I do to make the Unix sort match the Windows sort?
Thanks!
The docs say:
so use
Example: