Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement locale-aware sorting #68

Open
nbrustein opened this issue Sep 21, 2021 · 0 comments
Open

Implement locale-aware sorting #68

nbrustein opened this issue Sep 21, 2021 · 0 comments

Comments

@nbrustein
Copy link

The sort in sifter respects diacritics, but it doesn't support all locales. In my case, I'm specifically running into trouble sorting Chinese in a selectize element.

Seems like the way to make this work would be to switch to using localeCompare for the sorting, but then there would also need to be a way to supply a locale to sifter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant