gristlabs_grist-core/app
Dmitry S 6e844a2e76 (core) Use unicode-aware comparisons for user-visible strings.
Summary:
- Switch code that compares user strings to use localeCompare() based on Intl.Collator.
- Use en-US locale for now. (Ideally should be a document property.)
- Note that with this change, sorting is also becoming case-insensitive (which
  seems an improvement)

- Updated a sorted test fixture
- Updated a browser test with lots of unicode to expect different order.
- Added a bit of unicode to test ordering in Reference autocomplete dropdown.

Test Plan: Fixed / updated tests

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D2758
2021-03-15 09:54:10 -04:00
..
client (core) Use unicode-aware comparisons for user-visible strings. 2021-03-15 09:54:10 -04:00
common (core) Use unicode-aware comparisons for user-visible strings. 2021-03-15 09:54:10 -04:00
gen-server
plugin
server
tsconfig.json