1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir
3122b4424SAndrew Rist<!--***********************************************************
41ab4867aSmseidel *
5122b4424SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
6122b4424SAndrew Rist * or more contributor license agreements.  See the NOTICE file
7122b4424SAndrew Rist * distributed with this work for additional information
8122b4424SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
9122b4424SAndrew Rist * to you under the Apache License, Version 2.0 (the
10122b4424SAndrew Rist * "License"); you may not use this file except in compliance
11122b4424SAndrew Rist * with the License.  You may obtain a copy of the License at
121ab4867aSmseidel *
13122b4424SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
141ab4867aSmseidel *
15122b4424SAndrew Rist * Unless required by applicable law or agreed to in writing,
16122b4424SAndrew Rist * software distributed under the License is distributed on an
17122b4424SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18122b4424SAndrew Rist * KIND, either express or implied.  See the License for the
19122b4424SAndrew Rist * specific language governing permissions and limitations
20122b4424SAndrew Rist * under the License.
211ab4867aSmseidel *
22122b4424SAndrew Rist ***********************************************************-->
23122b4424SAndrew Rist
241ab4867aSmseidel<helpdocument version="1.0">
25cdf0e10cSrcweir<meta>
26cdf0e10cSrcweir<topic id="textshared0212100100xml" indexer="include" status="PUBLISH">
27cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Sort Order</title>
28cdf0e10cSrcweir<filename>/text/shared/02/12100100.xhp</filename>
29cdf0e10cSrcweir</topic>
30cdf0e10cSrcweir</meta>
31cdf0e10cSrcweir<body>
3282a98929Smseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3147000">
3382a98929Smseidel<bookmark_value>sorting; databases</bookmark_value>
34cdf0e10cSrcweir<bookmark_value>databases; sorting</bookmark_value>
35cdf0e10cSrcweir</bookmark>
36cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_DLG_ORDERCRIT" id="bm_id3154788" localize="false"/>
37cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/.uno:OrderCrit" id="bm_id3154682" localize="false"/><section id="sortorder">
38cdf0e10cSrcweir<paragraph role="heading" id="hd_id3147000" xml-lang="en-US" level="1" l10n="U" oldref="1"><variable id="sortierung"><link href="text/shared/02/12100100.xhp" name="Sort Order">Sort Order</link>
39cdf0e10cSrcweir</variable></paragraph>
40cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3163829" xml-lang="en-US" l10n="U" oldref="2"><variable id="sortierentext"><ahelp hid=".uno:OrderCrit">Specifies the sort criteria for the data display.</ahelp>
41cdf0e10cSrcweir</variable></paragraph>
42cdf0e10cSrcweir</section>
43cdf0e10cSrcweir<section id="howtoget">
441ab4867aSmseidel<embed href="text/shared/00/00000450.xhp#sortieren"/>
45cdf0e10cSrcweir</section>
46*fc4ee8aaSmseidel<paragraph role="paragraph" id="par_id3149549" xml-lang="en-US" l10n="U" oldref="12">While the functions <link href="text/shared/02/12010000.xhp" name="Sort in Ascending Order"><emph>Sort in Ascending Order</emph></link> and <link href="text/shared/02/12020000.xhp" name="Sort in Descending Order"><emph>Sort in Descending Order</emph></link> sort by one criterion only, you can combine several criteria in the <emph>Sort Order</emph> dialog.</paragraph>
47cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3145136" xml-lang="en-US" l10n="U" oldref="13">You can remove a sorting that has been performed with the <link href="text/shared/02/12040000.xhp" name="Remove Filter/Sorting"><emph>Remove Filter/Sorting</emph></link> icon.</paragraph>
48cdf0e10cSrcweir<paragraph role="heading" id="hd_id3148548" xml-lang="en-US" level="2" l10n="U" oldref="4">Sorting</paragraph>
49cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3155941" xml-lang="en-US" l10n="U" oldref="5">Use this area to enter sorting criteria. If you enter additional sorting criteria under <emph>and then</emph>, the data matching the content of the higher-order criterion is ordered according to the next criterion.</paragraph>
50cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3148620" xml-lang="en-US" l10n="U" oldref="14">If you sort the field name "First name" in ascending order and the field name "last name" in descending order, all records will be sorted in ascending order by first name, and then within the first names, in descending order by last name.</paragraph>
51cdf0e10cSrcweir<paragraph role="heading" id="hd_id3145345" xml-lang="en-US" level="3" l10n="U" oldref="6">Field name</paragraph>
52cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3159233" xml-lang="en-US" l10n="U" oldref="7"><ahelp hid=".uno:OrderCrit">Specifies the data field name whose content will determine the sort order.</ahelp></paragraph>
53cdf0e10cSrcweir<paragraph role="heading" id="hd_id3150774" xml-lang="en-US" level="3" l10n="U" oldref="8">Order</paragraph>
54cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3149177" xml-lang="en-US" l10n="U" oldref="9"><ahelp hid=".uno:OrderCrit">Specifies the sort order (either ascending or descending).</ahelp></paragraph>
55cdf0e10cSrcweir<paragraph role="heading" id="hd_id3147275" xml-lang="en-US" level="3" l10n="U" oldref="10">and then</paragraph>
56cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3166460" xml-lang="en-US" l10n="U" oldref="11">Specifies additional subordinate sort criteria from the other fields.</paragraph>
57cdf0e10cSrcweir</body>
58cdf0e10cSrcweir</helpdocument>
59