in reply to Sorting a hash of arrays based on a particular array element.

You don't want the curlies when assigning to a hash, you will get this error:

Reference found where even-sized list expected

/J\