in reply to How to sort in this upper / lower case?
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to sort in this upper / lower case?
by Aristotle (Chancellor) on Dec 27, 2005 at 09:31 UTC |