Innehåll

# Sort Options

Sets additional sorting options such as natural sorting, locale for sorting, handling columns boundaries, sort results location and more.

Så här använder du det här kommandot...

#### Från menylisten:

Choose Data - Sort - Options tab.

#### Från gränssnittet med flikar:

Choose Data - Sort - Options tab.

#### Från verktygslisterna:

Sort, then Options tab.

## Case sensitive

Sorting follows the collation rules of the document locale. In most Western locales, lowercase letters appear before uppercase 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.

## Range contains row/column labels

Utelämnar den första raden eller första kolumnen i markeringen från sorteringen. Inställningen Riktning längst ned i dialogrutan bestämmer namnet på och funktionen för den här kryssrutan.

## Inkludera format

Behåller den aktuella formateringen i cellen.

## Aktivera naturlig sortering

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.

### Recognize decimal separator

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).

### Decimal separator as regular character

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.

## Include boundary column(s)/row(s) containing only comments

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.

## Include boundary column(s)/row(s) containing only images

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.

## Kopiera sorteringsresultat till:

Kopierar den sorterade listan till ett cellområde som du anger.

### Sort results (named ranges list)

Select a named cell range where you want to display the sorted list.

### Sort results (input box)

Enter the cell range where you want to display the sorted list.

## Egen sorteringsordning

Klicka här och markera den sorteringsordning som du vill använda.

### Custom sort order list

Select the custom sort order that you want to apply. To define a custom sort order, choose LibreOffice - PreferencesTools - Options - LibreOffice Calc - Sort Lists.

## Locale

Select the locale for the sorting rules.

### Alternativ

Select a sorting option for the locale. For example, select the "phonebook" option for German to include the umlaut special character in the sorting.

## Riktning

### Uppifrån och ned (sortera rader)

Sorterar rader efter värdena i de aktiva kolumnerna i det markerade området.

### Vänster till höger (sortera kolumner)

Sorterar kolumner efter värdena i de aktiva raderna i det markerade området.

Stötta oss!