corrected a mistake in SortTest