Or, as an auxiliary answer for completeness’ sake that you should probably ignore: if the array is very large and the strings are long,
@array = @array[ do { my @lc = map lc, @array; sort { $lc[ $a ] cmp $lc[ $b ] } 0 .. $#array; } ];
Makeshifts last the longest.
In reply to Re: How to sort in this upper / lower case?
by Aristotle
in thread How to sort in this upper / lower case?
by gube
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |