in reply to Twice the pleasure of sorting a hash
foreach (sort { ($saved_key{$b} <=> $saved_key{$a}) || ($a cmp $b) } keys %saved_key)