Thanks for all the suggestions! Using 'cmp' in lieu of '<=>' indeed solve my problem.
In reply to Re^2: Sorting an array of hashes by madhurjf in thread Sorting an array of hashes by madhurjf