Just for the laugh of it:
Windows (the trademarked (C) "operating system" the swiss-...-cheese of operating systems) offers its own cmd line sort function aptly named sort. (I have learned this fact from: Re: Sorting a text file). From some initial (and final) enquiries it looks like it sorts on unit-character columns! So, it is practically a useless executable occupying space just like so many of its siblings. The ever so helpful people (don't ever ask there a question how to suicide lest you want an overflow) of stack overflow suggest using a spreadsheet to sort a file if you find yourself in a Windows system! Or install GNU utils in order to benefit from the Unix sort.
Thanking Unix, thanking GNU, thanking Perl for my everyday sanity.