title: RichFaces ExtendedTableDataModel: sorting columns retrieves all rows
body: <p>We use the ExtendedTableDataModel for paging. This is done to retrieve a set of results with Hibernate and load the next set when another page is requested. </p>
  
  <p>All works fine, but if we sort columns by using rich:column sortBy within the rich:dataTable then RichFaces tries to load all rows. We can see this while debugging the getItemsByRange which we made for our custom DataProvider. After clicking sort once, RichFaces will continue to retrieve all rows from the database. This is of course not what we want. We wanted to use this solution to minimize the data traffic and load times.</p>
  
  <p>We use Richfaces 3.3.2. Is there someone with a possible solution or workaround?</p>