You probably need to consider more than just the one character. Otherwise, multiple strings with the same fourth-character would have an unpredictable result-order, since differing strings would all be seen as “equal.”You have to upgrade your Perl!
In 5.7, the quicksort implementation was replaced with a stable mergesort algorithm
In reply to Re^2: How to perform different sorts on multiple sections of items in the same array
by Anonymous Monk
in thread How to perform different sorts on multiple sections of items in the same array
by estreb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |