Adding in proper hackey-hash sorting