Callback when a column header is tapped for sorting.
final void Function(int columnIndex, bool ascending)? onSort;