MERGESORT works