Data tables need to sort by columns (ascending/descending) with multi‑column sort support. Manually sorting arrays and managing sort state is repetitive.
SortController manages sort state (column, direction, priority for multi‑sort). It
provides a sortData() method that returns sorted data, supports custom compare functions, and notifies subscribers. This demo
uses single‑column sort (multi‑sort disabled).
DataTable, SortableList, ColumnSort, ProductCatalog, FileBrowser