ICU >
Demonstrations >
Locale Explorer > und > Kɨjapáani > Kɨjapáani (Japáani)
| |||||||
This example demonstrates sorting (collation) in this locale.
Instructions:
- Type in the lines of text you want to sort under Search.
- Select the Options you want, and hit Sort.
- The two output columns will show the original order and the sorted order, each numbered according to the original line. Any lines in the same box (with the same color) are sorted identically, according to the options you provide.
- If you want to try changing the sorting rules, hit Fetch rules for locale. It
inserts the rules for the current locale, which you can then alter and try
sorting with. You will need to know the format of the rules: see Collation
in the ICU User Guide for more information.
- Note: if you hit Edit Rules again, it will replace whatever you have altered!
Options:
- ICU implements the Unicode Collation Algorithm, which is a multi-level
sort.
- If there are any differences in base letters, that determines the result
- Otherwise, if there are any differences in accents*, that determines the results
- Otherwise, if there are any differences in case*, that determines the results
- Otherwise, if there are any differences in punctuation*, that determines the results
- The Level option determines which of the above levels to take into account when sorting.
- With Force Case, the normal case order (a < A vs. A < a) can be changed.
- If Punctuation = Base, then punctuation is treated like base letters. If punctuation is Shifted, it is ignored except at L4.
- A Case level can be used to keep a case level even if the strength is L1 or L2.
- A Hiragana level adds a special level for JIS compatibility. It is only used if the level is L4 .. L5.
- French accents force accents to be considered backwards, for the end of the string forwards.
- With Full Normalization, all strings are compared
For more information, see the ICU userguide
![]() |
![]() | |||
Your settings: (click to change) | |||
Powered by ICU 74.1 CLDR Version 44.0 Jumamóosi, 27 Kwiikumi 2024 23:27:06 GMT Timezone ID: UTC (Change) | |||
Label Locale: |
| ||
Transliteration: | off | ||
This display locale, lag_IE, is unsupported. | |||
![]() |