The sort works, merge not so much