in reply to sorting hashes by value

@orderedkeys = sort {$hashname{"$a"} <=> $hashname{"$b"} } keys %hashname;

-Waswas