onSortTapped property
If you want to sort columns, implement this method.
Note that you have to manage sorting externally and update the table UI accordingly
using the sortedAsc
parameter.
Implementation
final void Function(bool sortedAsc)? onSortTapped;