in reply to Getting keys of a hash element
print sort keys %hash; [download]
print join "\n" , sort keys %hash; [download]