Replies: 4 comments
-
U can provide your own custom sort method for the same. |
Beta Was this translation helpful? Give feedback.
-
Sure but I thought that it would be nice add this option to sortTypes.js in order to support sorting uppercased & lowercased strings out of the box. |
Beta Was this translation helpful? Give feedback.
-
I have the same problem with react sorting, is there a default way that |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm having the same issue. How to implemented custom sort to solve it? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug (required)
While using the default sorting method, the uppercased string goes before lowercased. People usually
Provide an example via Codesandbox! (required)

Check codesandbox to reproduce the issue.
Steps To Reproduce (required)
Steps to reproduce the behavior:
Expected behavior (Recommended)
People usually uses javascript
.localeCompare()
method to perform comparision between different strings. I believe that adding this option to sorthMethods would be appreciated.Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
I would like to create a PR with the solution
Beta Was this translation helpful? Give feedback.
All reactions