This does more or less the same thing as the first solution, only neater.@array = sort { lc($a) cmp lc($b) || $b cmp $a } @array;
In reply to Re: How to sort in this upper / lower case?
by TedPride
in thread How to sort in this upper / lower case?
by gube
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |