in reply to How do I print the values of a hash, sorted by the hash keys?

print map{ $data{$_} } sort{ $a <=> $b } keys %data;

Originally posted as a Categorized Answer.