Post Reply 
Composer sorting with accented characters
25-01-2021, 23:02
Post: #2
RE: Composer sorting with accented characters
There is no need to use both Composer.reverseName.display and Composer.reverseName.display.index. You should just use Composer.reverseName.display.index.

MinimServer sorts the first 256 Unicode codepoints (less than or equal to U+00FF) by their natural collation values. After code point U+00FF, the sort order is by codepoint value. The split at U+00FF is for ease of implementation and runtime performance. Because the "Š" character is Unicode U+0160, it doesn't benefit from the special collation treatment for the lower-numbered codepoints.

You can customize the sort order for these exceptional cases by adding additional tags and setting some additional MinimServer properties. The following should work:

1) For each composer that needs a custom sorting order, add two tags in addition to the Composer tag that you have currently:

ComposerName = Raminta Šerkšnytė
ComposerSort = Serksnyte, Raminta

2) Set the following additional MinimServer properties:

itemTags = ComposerName, ComposerSort
tagValue = ComposerName.value.sort={ComposerSort}, Composer.replace={ComposerName.custom}
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Composer sorting with accented characters - simoncn - 25-01-2021 23:02

Forum Jump:


User(s) browsing this thread: 1 Guest(s)