in reply to Re^2: Hash value sortingin thread Hash value sorting
my %counts = %{ $self->{_counts} }; my @sorted_keys = sort { $counts{$a} <=> $counts{$b} } keys %counts; [download]
And sort by counts (ascending).