Added mergeAsc function