Table and server-side state get out of sync when sorting the table. I see the data model is recreated after clicking the sortable header. The table is then rendered from this on-the-fly created model, with proper sorting. But when I select any of the rows, the row index will now refer to the actual source list of the table, which is not sorted. How an I make sure that the backing list is sorted instead of an internally created model to ensure that selection works?