http://qs321.pair.com?node_id=936637


in reply to Help with Hash

Untested:
foreach my $key (sort {$count{$a} <=> $count{$b}} keys %count) { ... }