Yes, there is, have a look at
- keys (to get the keys from the hash and then you also get the values),
- sort (for, well, sorting),
- perlop (for comparing numerical values) and
- printf (for outputting nicely)
Then write some code. And if you have any problems then
come back to us.
-- Hofmator