code: public void sort(Comparator<T> sort) {
  		ArrayList<T> tmp = new ArrayList<T>();
  		
          for( Collection<T> page : pages ) {
  			tmp.addAll(page);
  		}
  		setup(tmp, pageSize, sort);
  	}
docs: Re-sorts the list according to the specified sorter.
  @param sort the sorter to sort the list with