merge sort cps