my @array = sort { $entry{$table}{$a}{RANK} cmp $entry{$table}{$b}{RANK} } keys %{$entry{$table}};
Explanation of the code is left as an exercise for the reader.
In reply to Re: sort question
by dragonchild
in thread sort question
by rvosa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |