mkent has asked for the wisdom of the Perl Monks concerning the following question:

Can anyone tell me how to take a hash and sort it such that

1) matching values will be counted and displayed once with a total count, like if appears 20 times one line is outputted like " - 20"

2) before output, the hash is sorted by number, with the highest number first, and descending?

3) the output is 10 lines at a time such that a user on a web page can click on "next 10" or "previous 10" in order to scroll forward and backward by pages?