Shuffle sorting function

Hi guys, anyway that I can add 1 more option to my table that sort in shuffle?

Currently my code is:

const [sorting, setSorting] = React.useState<SortingState>([]);

...

const table = useReactTable({
  data,
  columns,
  onSortingChange: setSorting,
  ...
})
Was this page helpful?