http://qs1969.pair.com?node_id=1147969


in reply to Sorting a hash in a predetermined order

Strictly speaking, you cannot "sort a hash". However, you can control the order in which elements are processed (or printed). See the FAQ (perldoc -q "How do I sort a hash")
Bill
  • Comment on Re: Sorting a hash in a predetermined order