added resultSorterTest