in reply to Sorting an array of hashes

You can't sort a hash. You can print a hash in sorted order.

xoxo,
Andy