Merge sort + clean