in reply to Trying to make a string generated like google
my @sorted_phases = sort { $b->{count} <=> $a->{count} } values %$strings;
You'll then have an array of your hashes ordered by the "count" value. The ones with the highest count will be at the start of the array.
In Section
Seekers of Perl Wisdom