mergeKsortedlist