merge sort by list