in reply to sorting keys in Hash
my @sorted_keys = sort keys %hash; my @sorted_vals = @hash{@sorted_keys};
does the trick with out a map. Hash keys are internally sorted after they've gone through the hashing algorithm, which usually results in an order that is Not Useful to You.
|
|---|