This seems to be a simple question but one I have not found an answer for in the monastery.
I want to sort a hash from highest to lowest value.
For example:
%hash = ( 5.764 => a, 3.24 => b, 4.6 => c);
I would want this to print out as:
5.764 a
4.6 c
3.24 b
Thanks,
In reply to sorting a hash by Lhamo_rin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |