add merge for merge sort