RootCauseunvalidated
Every sort rebuilds the entire model — You're replacing the model each time with a new SortableTableModel. Tension: setModel probably triggers a full redraw of the UI and creates a new internal structure. Outcome: deep-copies data, rebuilds the entire UI with new components, triggers full layout/revalidation.
6488a14e-ea4e-4602-9a8b-cfdc684fe7be
Every sort rebuilds the entire model — You're replacing the model each time with a new SortableTableModel. Tension: setModel probably triggers a full redraw of the UI and creates a new internal structure. Outcome: deep-copies data, rebuilds the entire UI with new components, triggers full layout/revalidation.