for my $nestedKey (sort keys %{$hash{$key}}) [download]
Surely?
update: bah! Stealth edit:(
In reply to Re^2: Sorting hash of hashes by FunkyMonk in thread Sorting hash of hashes by tweak