in reply to Sorting an HoH (Or Something?)
foreach my $iid ( sort { $hash{$name}{$b} <=> $hash{$name}{$a} } keys + %{$hash{$name}}) { [download]