cmp is what he is looking for, this will not fully work, as the element is a string not a number. jdporter got it right.
Update:
Zaxo already had this fixed before he saw my reply.
In reply to Re^2: sorting hash by value when value is an array ref
by pg
in thread sorting hash by value when value is an array ref
by beachguy82
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |