Click on Text to sort ascending after that click on Number to sort ascending.
Since Number has a higher multiplePriority than Text the order of the SorterResults should be: Number, Text
The SorterResults is based on the order of clicking the columns not on the multiplePriority.
Environment | Info |
---|---|
antd | 4.10.3 |
React | react/react-dom |
System | Linux |
Browser | Chrome |
It is clear from the current implementaion:
ant-design/components/table/hooks/useSorter.tsx
Lines 246 to 253 in 7f50e3f
Some users might already rely on the current behaviour. I therefore would recommend to make sorting by multiplePriority as well as multipleMode a feature that can be turned on or off and use different defaults for client- and server-side sorting.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too