1 <?xml version=
"1.0" encoding=
"UTF-8"?>
6 ***********************************************************************
8 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
10 * Copyright 2008 by Sun Microsystems, Inc.
12 * OpenOffice.org - a multi-platform office productivity suite
14 * $RCSfile: 12100100.xhp,v $
17 * This file is part of OpenOffice.org.
19 * OpenOffice.org is free software: you can redistribute it and/or modify
20 * it under the terms of the GNU Lesser General Public License version 3
21 * only, as published by the Free Software Foundation.
23 * OpenOffice.org is distributed in the hope that it will be useful,
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 * GNU Lesser General Public License version 3 for more details
27 * (a copy is included in the LICENSE file that accompanied this code).
29 * You should have received a copy of the GNU Lesser General Public License
30 * version 3 along with OpenOffice.org. If not, see
31 * <http://www.openoffice.org/license.html>
32 * for a copy of the LGPLv3 License.
34 ************************************************************************
38 <helpdocument version=
"1.0">
40 <topic id=
"textshared0212100100xml" indexer=
"include" status=
"PUBLISH">
41 <title id=
"tit" xml-lang=
"en-US">Sort Order
</title>
42 <filename>/text/shared/
02/
12100100.xhp
</filename>
46 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3147000"><bookmark_value>sorting; databases
</bookmark_value>
47 <bookmark_value>databases; sorting
</bookmark_value>
49 <bookmark xml-lang=
"en-US" branch=
"hid/HID_DLG_ORDERCRIT" id=
"bm_id3154788" localize=
"false"/>
50 <bookmark xml-lang=
"en-US" branch=
"hid/SID_FM_ORDERCRIT" id=
"bm_id4798297" localize=
"false"/>
51 <bookmark xml-lang=
"en-US" branch=
"hid/.uno:OrderCrit" id=
"bm_id3154682" localize=
"false"/><section id=
"sortorder">
52 <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>
53 </variable></paragraph>
54 <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>
55 </variable></paragraph>
57 <section id=
"howtoget">
58 <embed href=
"text/shared/00/00000450.xhp#sortieren"/>
60 <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>
61 <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>
62 <paragraph role=
"heading" id=
"hd_id3148548" xml-lang=
"en-US" level=
"2" l10n=
"U" oldref=
"4">Sorting
</paragraph>
63 <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>
64 <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>
65 <paragraph role=
"heading" id=
"hd_id3145345" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"6">Field name
</paragraph>
66 <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>
67 <paragraph role=
"heading" id=
"hd_id3150774" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"8">Order
</paragraph>
68 <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>
69 <paragraph role=
"heading" id=
"hd_id3147275" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"10">and then
</paragraph>
70 <paragraph role=
"paragraph" id=
"par_id3166460" xml-lang=
"en-US" l10n=
"U" oldref=
"11">Specifies additional subordinate sort criteria from the other fields.
</paragraph>