Skip to content

Sorting table with non-english characters #14023

Discussion options

You must be logged in to vote

Hi:
If field is country for example, add .sort in columns definition:

country.sort = (a, b) => a.localeCompare(b, 'es', { sensitivity: 'base' })

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by hlabory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants