Merge sorted list