merge method added to SortTest