With merge sort