LibreOffice 26.2 Help
Sets additional sorting options such as natural sorting, locale for sorting, handling column boundaries, sort results location and more.
Sorting follows the collation rules of the document locale. In most Western locales, lower-case letters appear before upper-case letters, while in others, the order is reversed. For example, in the English (USA) locale, the order is 'a', 'A', 'b', 'B'. In the Danish locale, however, the order is 'A', 'a', 'B', 'b'.
LibreOffice uses collation rules based on the International Components for Unicode (ICU). For detailed collation information specific to your document locale, visit https://icu4c-demos.unicode.org/icu-bin/collation.html#legend.
For Asian locales: Check Case-sensitive to apply multi-level collation. With multi-level collation, entries are first compared in their primitive forms with their cases and diacritics ignored. If they evaluate as the same, their diacritics are taken into account for the second-level comparison. If they still evaluate as the same, their cases, character widths, and Japanese Kana difference are considered for the third-level comparison.
Preserves the current cell formatting.
Natural sorting is an algorithm that orders string-prefixed numbers by their numerical value, rather than treating them as plain text for comparison.
Example: the series of values A1, A15, A9, A4, A5, A17, ..., A2, A13, A21 when sorted in natural order becomes
A1, A2, A3, A4, A5, A6, ..., A19, A20, A21.
The same set of values not sorted naturally becomes
A1, A11, A12, A13, ..., A19, A2, A20, A21, A3, A4, A5, ..., A9.
The decimal separator character, which varies by locale, when included in the number that follows the text, indicate that it is a decimal number. For example: A1.14, A1.2, A2.5, A10 (with a dot as the separator).
The decimal separator character, which varies by locale, does not indicate a decimal number when included in the following text; instead, it is treated as a regular character. For example, A1.14 contains character 'A', number 1, character '.' and number 14.
Range boundary columns (for sorting rows) or boundary rows (for sorting columns) of a sorting range are not sorted by default if they are empty. Check this option if boundary columns or boundary rows containing comments are also to be sorted.
Border columns (for sorting rows) or border rows (for sorting columns) of a sorting area are not sorted by default if they are empty. Check this option if boundary columns or boundary rows containing images are also to be sorted.
Copies the sorted list to the cell range that you specify.
The copy process first copies the source data to the target range and then sorts the data in place. This order of operations is important if the source range is unsorted and contains formulas, as copying a range automatically adjusts the relative cell references in those formulas.
Select a named cell range where you want to display the sorted list.
Enter the cell range where you want to display the sorted list.
Click here and then select the custom sort order that you want.
Select the custom sort order that you want to apply. To define a custom sort order, choose - .
Select the locale for the sorting rules.
Select a sorting option for the locale. For example, select the "phonebook" option for German to include the umlaut special character in the sorting.