--from above--
Don't forget about the Schwartzian Transform:Will give youmy %hash = qw/John 1 Bob 1 xavier 1 alice 1/; my @keys = map { (my $x = $_) =~ tr/a-zA-Z/A-Za-z/; $x } sort map { (my $x = $_) =~ tr/a-zA-Z/A-Za-z/; $x } keys %hash; print "@keys\n";
alice xavier Bob John
In reply to Re^3: Sorting - lower to upper
by orderthruchaos
in thread Sorting - lower to upper
by joule
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |