Re: [HELP] Strange sort order. Why?
Vladimir Weinstein <[email protected]> Mon, 21 Feb 2005 13:29:48 -0800
| Newsgroups | gmane.comp.lib.icu.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, this is expected order. The difference between a and accented a is by default a secondary difference - meaning it is examined only if the strings are equivalent on the primary level. Since there is a primary difference between 'u' and 'n' it takes precedence and thus establishes the sort order. Hope this helps. Regards, v. Ruslan Zasukhin wrote: > Hi All, > > If to go on this online demo > > http://www-950.ibm.com/software/globalization/icu/demo/locales/en/?_=en_US&d > _=en&x=col > > And use these 3 words > > Sadler > Saunder > Sánchez > > The result of sorting will be > > Sadler > Sánchez > Saunder > > This result of sorting we have for any set of parameters, btw! > > user want to use in fact SECONDARY(=1) value as collation strength. > > > ------------------------------------------------------------ > QUESTION IS: > > it looks to me (and to our customers) that this is WRONG order. > for example Excel and any other soft we have try show order > > Sadler > Saunder > Sánchez > > > Why ICU produce this wrong order ???? > > Or where we do mistake ? > > -- Vladimir Weinstein, IBM GCoC-Unicode/ICU San Jose, CA [email protected]