fixed a bag in the extra bits to make the ordering unique. This does not effect the correctness of the result but makes sure that the results are independent from the sorting algorithm.