Double hashing sort algorithm. In double hashing, two hash functions are used.