Currently, passing an onSort handler to the Table enables manual sorting, meaning that the data must be sorted manually before passing it to the component.
However, there are cases where we want to let the Table handle the sorting automatically even if we pass an onSort handler to the component (e.g. if the onSort handler is used to just execute some side-effects whenever the sorting changes).
Should we allow users to decide when to enable manual sorting?
Currently, passing an
onSort
handler to theTable
enables manual sorting, meaning that the data must be sorted manually before passing it to the component.However, there are cases where we want to let the Table handle the sorting automatically even if we pass an
onSort
handler to the component (e.g. if theonSort
handler is used to just execute some side-effects whenever the sorting changes).Should we allow users to decide when to enable manual sorting?