Just reverse sort:
@sortedKeys = reverse sort { $h{$a} <=> $h{$b} } keys %h; [download]
In reply to Re: Sorting keys of hash table by values by kyle in thread Sorting keys of hash table by values by iman_saleh