in reply to Sorting a hash
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