http://www.perlmonks.org?node_id=447628


in reply to Re: sorting a hash by keys, according to preference
in thread sorting a hash by keys, according to preference

It turns out I was after two things in my question: How to sort the hash the way I wanted and how to sort the hash using a common hand-crafted sort function with the space-ship operator. I am glad to see these working examples for both for my future sorting needs. I may just play around with this sort function to get a handle on how it works.

Thanks again!