[Solved] Sort mixed text lines (alphanum) in Perl
The Schwartzian Transform as suggested in Toto’s answer is probably the fastest way to sort your lines here. But you said you’re a Perl newbie, and I like to show how the lines can be sorted traditionally. Perl has a sort function that sorts a list simply by alphabet. But you can supply a custom … Read more