merge-sort works