in reply to Re^2: sorted Hash
in thread sorted Hash

Do you understand why that worked? If not, have you looked it up in the documentation?

The way forward always starts with a minimal test.