There's a Perlfaq for that.
See also: Schwartzian transform
In reply to Re: sorting hash of array of hashes by value by Solo in thread sorting hash of array of hashes by value by Special_K