Surprising collation sort when using UpperFirst
Open
- Dominant language
- Haskell
- Stars
- 50
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
I would expect that specifying UpperFirst would sort the capital before the lower, regardless of the following character. Do you have any insight?
```
:set -XOverloadedStrings
import qualified Data.Text.ICU as ICU
import qualified Data.Text.ICU.Collate as I
ICU.collate (ICU.collatorWith (ICU.Locale "de_DE") [I.CaseFirst (Just I.UpperFirst)]) "muller" "Müller"
-- LT
ICU.collate (ICU.collatorWith (ICU.Locale "de_DE") [I.CaseFirst (Just I.UpperFirst)]) "muller" "Muller"
-- GT
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.