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)
In reply to Re: Sorting a hash
by jeroenes
in thread Sorting a hash
by Prince99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |