Merge sort in Agda