Aloso / lexical-sort

Sort Unicode strings lexicographically

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make case sensitivity optional

Aloso opened this issue · comments

Provide an option to enable or disable case sensitivity.

I think it would make sense to provide three options for case sensitivity:

  • Case insensitive
  • Lowercase first
  • Uppercase first

Configuration of this is strongly recommended by Unicode: https://unicode.org/reports/tr10/#Case_Comparisons