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