Sorting, filtering, or paginating a list loses the current selection.
SelectionPersistence stores selected IDs separately and re‑applies them after data changes.
SelectionPersistence
Data tables, File lists, Search results.