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

sortFunction with accents #148

Open
sergiorighi opened this issue Aug 5, 2018 · 0 comments
Open

sortFunction with accents #148

sergiorighi opened this issue Aug 5, 2018 · 0 comments

Comments

@sergiorighi
Copy link

I use this function to sort with accented characters. This could be the default sort function, or just one more option.

sortFunction: function(a,b) { return a.elm.textContent.localeCompare(b.elm.textContent); }

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