TinySort
TinySort copied to clipboard
sortFunction with accents
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); }