in reply to Sorting a hash

The numeric compare only is executed when the cmp fails because the two fiels are identical.

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)