Allow for hashes with array sorts