add: merge sorted array