Fixed merge sort