my @result = sort { $one{$b} <=> $one{$a} or $b <=> $a } keys %one;
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to Re: Sorting sorts 13 as less than 2
by merlyn
in thread Sorting sorts 13 as less than 2
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |