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.
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.