- updated since adding generics to PSRSSort.