Skip to content

Add diacritics to main character #1

Description

@typometre

Hi,
I have found how to avoid letters with diacritics to be sorted in the other category.
Changing the regex for

if (/\P{L}/.test(firstChar)) firstChar = '-'; 

I also have figured that I could add letter in the menu but that not exactly my need.

What is desired is that diacritics are sorted with their main character base. So word starting with à, á, â, ä… will be sorted as if they were just a regular a. It will also be needed for ligatures as in french, you would sort œin the o category.

I haven't find how I could add an array of acceptable first letter for each category.

Thanks for your help.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions