move sort to merge method