code: private static void fix(IndexedSortable s, int pN, int pO, int rN, int rO) {
  		if (s.compare(pN, pO, rN, rO) > 0) {
  			s.swap(pN, pO, rN, rO);
  		}
  	}
docs: Fix the records into sorted order, swapping when the first record is
  greater than the second record.
  
  @param s paged sortable
  @param pN page number of first record
  @param pO page offset of first record
  @param rN page number of second record
  @param rO page offset of second record