1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir
3cdf0e10cSrcweir
4cdf0e10cSrcweir
5*02dbb15cSAndrew Rist<!--***********************************************************
6cdf0e10cSrcweir *
7*02dbb15cSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
8*02dbb15cSAndrew Rist * or more contributor license agreements.  See the NOTICE file
9*02dbb15cSAndrew Rist * distributed with this work for additional information
10*02dbb15cSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
11*02dbb15cSAndrew Rist * to you under the Apache License, Version 2.0 (the
12*02dbb15cSAndrew Rist * "License"); you may not use this file except in compliance
13*02dbb15cSAndrew Rist * with the License.  You may obtain a copy of the License at
14*02dbb15cSAndrew Rist *
15*02dbb15cSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
16*02dbb15cSAndrew Rist *
17*02dbb15cSAndrew Rist * Unless required by applicable law or agreed to in writing,
18*02dbb15cSAndrew Rist * software distributed under the License is distributed on an
19*02dbb15cSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
20*02dbb15cSAndrew Rist * KIND, either express or implied.  See the License for the
21*02dbb15cSAndrew Rist * specific language governing permissions and limitations
22*02dbb15cSAndrew Rist * under the License.
23*02dbb15cSAndrew Rist *
24*02dbb15cSAndrew Rist ***********************************************************-->
25*02dbb15cSAndrew Rist
26*02dbb15cSAndrew Rist
27cdf0e10cSrcweir
28cdf0e10cSrcweir
29cdf0e10cSrcweir		<helpdocument version="1.0">
30cdf0e10cSrcweir<meta>
31cdf0e10cSrcweir<topic id="textscalc0112030100xml" indexer="include" status="PUBLISH">
32cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Sort Criteria</title>
33cdf0e10cSrcweir<filename>/text/scalc/01/12030100.xhp</filename>
34cdf0e10cSrcweir</topic>
35cdf0e10cSrcweir</meta>
36cdf0e10cSrcweir<body>
37cdf0e10cSrcweir<section id="sortierkriterien">
38cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3152350"><bookmark_value>sorting; sort criteria for database ranges</bookmark_value>
39cdf0e10cSrcweir</bookmark>
40cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_SCPAGE_SORT_FIELDS" id="bm_id3156326" localize="false"/><paragraph role="heading" id="hd_id3152350" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/scalc/01/12030100.xhp" name="Sort Criteria">Sort Criteria</link></paragraph>
41cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3151385" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid="HID_SCPAGE_SORT_FIELDS">Specify the sorting options for the selected range.</ahelp></paragraph>
42cdf0e10cSrcweir</section>
43cdf0e10cSrcweir<paragraph role="note" id="par_id3152462" xml-lang="en-US" l10n="U" oldref="24">Ensure that you include any row and column titles in the selection.</paragraph>
44cdf0e10cSrcweir<section id="howtoget">
45cdf0e10cSrcweir  <embed href="text/scalc/00/00000412.xhp#dnsosk"/>
46cdf0e10cSrcweir</section>
47cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:ListBox:RID_SCPAGE_SORT_FIELDS:LB_SORT1" id="bm_id3147434" localize="false"/><paragraph role="heading" id="hd_id3147428" xml-lang="en-US" level="2" l10n="U" oldref="3">Sort by</paragraph>
48cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3155854" xml-lang="en-US" l10n="U" oldref="4"><ahelp hid="SC:LISTBOX:RID_SCPAGE_SORT_FIELDS:LB_SORT1">Select the column that you want to use as the primary sort key.</ahelp></paragraph>
49cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_UP1" id="bm_id3153142" localize="false"/><paragraph role="heading" id="hd_id3146121" xml-lang="en-US" level="3" l10n="U" oldref="5">Ascending</paragraph>
50cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3148645" xml-lang="en-US" l10n="CHG" oldref="6"><ahelp hid="SC:RADIOBUTTON:RID_SCPAGE_SORT_FIELDS:BTN_UP1">Sorts the selection from the lowest value to the highest value. The sorting rules are given by the locale. You can define the sort rules on Data - Sort - Options.</ahelp> You define the default on <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - Language Settings - Languages.</paragraph>
51cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_DOWN1" id="bm_id3149377" localize="false"/><paragraph role="heading" id="hd_id3155411" xml-lang="en-US" level="3" l10n="U" oldref="7">Descending</paragraph>
52cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3151075" xml-lang="en-US" l10n="CHG" oldref="8"><ahelp hid="SC:RADIOBUTTON:RID_SCPAGE_SORT_FIELDS:BTN_DOWN1">Sorts the selection from the highest value to the lowest value. You can define the sort rules on Data - Sort - Options.</ahelp> You define the default on <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - Language Settings - Languages.</paragraph>
53cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:ListBox:RID_SCPAGE_SORT_FIELDS:LB_SORT2" id="bm_id3153876" localize="false"/><paragraph role="heading" id="hd_id3154492" xml-lang="en-US" level="2" l10n="U" oldref="9">Then by</paragraph>
54cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3156283" xml-lang="en-US" l10n="U" oldref="10"><ahelp hid="SC:LISTBOX:RID_SCPAGE_SORT_FIELDS:LB_SORT2">Select the column that you want to use as the secondary sort key.</ahelp></paragraph>
55cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_UP2" id="bm_id3150715" localize="false"/><paragraph role="heading" id="hd_id3149413" xml-lang="en-US" level="3" l10n="U" oldref="11">Ascending</paragraph>
56cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3154018" xml-lang="en-US" l10n="CHG" oldref="12"><ahelp hid="SC:RADIOBUTTON:RID_SCPAGE_SORT_FIELDS:BTN_UP2">Sorts the selection from the lowest value to the highest value. You can define the sort rules on Data - Sort - Options.</ahelp> You define the default on <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - Language settings - Languages.</paragraph>
57cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_DOWN2" id="bm_id3153709" localize="false"/><paragraph role="heading" id="hd_id3146972" xml-lang="en-US" level="3" l10n="U" oldref="13">Descending</paragraph>
58cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3145640" xml-lang="en-US" l10n="CHG" oldref="14"><ahelp hid="SC:RADIOBUTTON:RID_SCPAGE_SORT_FIELDS:BTN_DOWN2">Sorts the selection from the highest value to the lowest value. You can define the sort rules on Data - Sort - Options.</ahelp> You define the default on <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - Language settings - Languages.</paragraph>
59cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:ListBox:RID_SCPAGE_SORT_FIELDS:LB_SORT3" id="bm_id3156384" localize="false"/><paragraph role="heading" id="hd_id3154756" xml-lang="en-US" level="2" l10n="U" oldref="15">Then by</paragraph>
60cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3147338" xml-lang="en-US" l10n="U" oldref="16"><ahelp hid="SC:LISTBOX:RID_SCPAGE_SORT_FIELDS:LB_SORT3">Select the column that you want to use as the third sort key.</ahelp></paragraph>
61cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_UP3" id="bm_id3155960" localize="false"/><paragraph role="heading" id="hd_id3163808" xml-lang="en-US" level="3" l10n="U" oldref="17">Ascending</paragraph>
62cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3155336" xml-lang="en-US" l10n="CHG" oldref="18"><ahelp hid="SC:RADIOBUTTON:RID_SCPAGE_SORT_FIELDS:BTN_UP3">Sorts the selection from the lowest value to the highest value. You can define the sort rules on Data - Sort - Options.</ahelp> You define the default on <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - Language settings - Languages.</paragraph>
63cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_DOWN3" id="bm_id3147344" localize="false"/><paragraph role="heading" id="hd_id3147364" xml-lang="en-US" level="3" l10n="U" oldref="19">Descending</paragraph>
64cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3149258" xml-lang="en-US" l10n="CHG" oldref="20"><ahelp hid="SC:RADIOBUTTON:RID_SCPAGE_SORT_FIELDS:BTN_DOWN3">Sorts the selection from the highest value to the lowest value. You can define the sort rules on Data - Sort - Options.</ahelp> You define the default on <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - Language settings - Languages.</paragraph>
65cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/.uno:SortAscending" id="bm_id1196545" localize="false"/>
66cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/.uno:SortAscending" id="bm_id3149207" localize="false"/>
67cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/.uno:SortDescending" id="bm_id1104741" localize="false"/>
68cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/.uno:SortDescending" id="bm_id3149211" localize="false"/><paragraph role="heading" id="hd_id3150300" xml-lang="en-US" level="2" l10n="U" oldref="21">Sort Ascending/Descending</paragraph>
69cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3158212" xml-lang="en-US" l10n="CHG" oldref="22"><ahelp hid=".uno:SortDescending"><variable id="sytext">Sorts the selection from the highest to the lowest value, or from the lowest to the highest value. Number fields are sorted by size and text fields by the order of the characters. You can define the sort rules on Data - Sort - Options.</variable></ahelp> You define the default on <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - Language settings - Languages.</paragraph>
70cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3159236" xml-lang="en-US" l10n="CHG" oldref="25">Icons on the <emph>Standard</emph> toolbar</paragraph>
71cdf0e10cSrcweir<embed href="text/scalc/00/00000412.xhp#sysortieren"/>
72cdf0e10cSrcweir</body>
73cdf0e10cSrcweir</helpdocument>
74