modify merge two sorted list