Added ordering to hash types