nicolaskruchten / pivottable

Open-source Javascript Pivot Table (aka Pivot Grid, Pivot Chart, Cross-Tab) implementation with drag'n'drop.
https://pivottable.js.org/
MIT License
4.33k stars 1.07k forks source link

Sorting with non-english characters #1343

Open Mkranj opened 10 months ago

Mkranj commented 10 months ago

Referencing this issue for the R implementation: https://github.com/smartinsightsfromdata/rpivotTable/issues/123 Rows aren't sorted correctly when Croatian letters are included:

Example:

engleski, francuski, hrvatski, talijanski, češki, španjolski

Expected order:

češki, engleski, francuski, hrvatski, španjolski, talijanski

Is there some way to define character order to use when sorting? Could this be defined in a new locale file for the Croatian language? If so, I'd be up for making the translations for the Croatian locale, including the localeStrings, aggregator names etc.