Maybe you could try putting the numeric comparison first, as that's most likely to return 0.
--
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
In reply to Re: Sorting a hash
by davorg
in thread Sorting a hash
by Prince99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |