in reply to Numerical sorting issues with a hash of hashes

Is there any particular reason tha you aren't using an array rather than a hash? With contiguous numeric keys, there using an array is slighly more efficient to reference, but best of all, you don't need to sort anything to iterate them in numeric sequence.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller

  • Comment on Re: Numerical sorting issues with a hash of hashes