When using grouped columns, in some combinations sorting numbers arranges them sorted by digit 'alphabetical' order, for example for an upward sort 11111, then 22, then 333, then 4444444, etc.
More specifically, it's when other columns are grouped and one column is not part of any group.
When using grouped columns, in some combinations sorting numbers arranges them sorted by digit 'alphabetical' order, for example for an upward sort 11111, then 22, then 333, then 4444444, etc.
More specifically, it's when other columns are grouped and one column is not part of any group.
Open this sandbox and click on the last column CCCCC to see the effect:
https://codesandbox.io/p/sandbox/reactdatatable-issue-g9hd42?file=%2Fsrc%2FApp.js%3A377%2C51
Note that if you add
group: "other",
to line 395, the sort works as expected