TinySort icon indicating copy to clipboard operation
TinySort copied to clipboard

sortFunction with accents

Open sergiorighi opened this issue 6 years ago • 0 comments

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); }

sergiorighi avatar Aug 05 '18 07:08 sergiorighi