in reply to Sorting a hash

Maybe you could try putting the numeric comparison first, as that's most likely to return 0.

--
<http://www.dave.org.uk>

"Perl makes the fun jobs fun
and the boring jobs bearable" - me