in reply to Sorting a hash
The solution is: If you have numerics, zero-pad them using sprintf "%05i" for example. The cmp only missorts on numbers of different digit lengths.
Jeroen "We are not alone"(FZ)