in reply to Re^2: Sorting the hashin thread Sorting the hash
You just need to change:
print Dumper($x); [download]
print Dumper(\%x); [download]