1<?xml version="1.0" encoding="UTF-8"?>
2<helpdocument version="1.0">
3
4<!--***********************************************************
5 *
6 * Licensed to the Apache Software Foundation (ASF) under one
7 * or more contributor license agreements.  See the NOTICE file
8 * distributed with this work for additional information
9 * regarding copyright ownership.  The ASF licenses this file
10 * to you under the Apache License, Version 2.0 (the
11 * "License"); you may not use this file except in compliance
12 * with the License.  You may obtain a copy of the License at
13 *
14 *   http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing,
17 * software distributed under the License is distributed on an
18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19 * KIND, either express or implied.  See the License for the
20 * specific language governing permissions and limitations
21 * under the License.
22 *
23 ***********************************************************-->
24
25
26
27
28<meta>
29      <topic id="textscalcguidedatabase_sortxml" indexer="include" status="PUBLISH">
30         <title xml-lang="en-US" id="tit">Sorting Data </title>
31         <filename>/text/scalc/guide/database_sort.xhp</filename>
32      </topic>
33   </meta>
34   <body>
35<bookmark xml-lang="en-US" branch="index" id="bm_id3150767"><bookmark_value>database ranges; sorting</bookmark_value>
36      <bookmark_value>sorting; database ranges</bookmark_value>
37      <bookmark_value>data;sorting in databases</bookmark_value>
38</bookmark>
39<paragraph xml-lang="en-US" id="hd_id3150767" role="heading" level="1" l10n="U"
40                 oldref="44"><variable id="database_sort"><link href="text/scalc/guide/database_sort.xhp" name="Sorting Database Ranges">Sorting Data</link>
41</variable></paragraph>
42      <list type="ordered">
43         <listitem>
44            <paragraph xml-lang="en-US" id="par_id3145751" role="listitem" l10n="U" oldref="45">Click in a database range.</paragraph>
45            <paragraph xml-lang="en-US" id="par_id121020081121549" role="listitem" l10n="NEW">If you select a range of cells, only these cells will get sorted. If you just click one cell without selecting, then the whole database range will get sorted.</paragraph>
46         </listitem>
47         <listitem>
48            <paragraph xml-lang="en-US" id="par_idN10635" role="listitem" l10n="NEW">Choose <item type="menuitem">Data - Sort</item>.</paragraph>
49            <paragraph xml-lang="en-US" id="par_id121020081121547" role="listitem" l10n="NEW">The range of cells that will get sorted is shown in inverted colors.</paragraph>
50         </listitem>
51         <listitem>
52            <paragraph xml-lang="en-US" id="par_idN10645" role="listitem" l10n="NEW">Select the sort options that you want.</paragraph>
53         </listitem>
54         <listitem>
55            <paragraph xml-lang="en-US" id="par_idN1063D" role="listitem" l10n="NEW">Click <emph>OK</emph>.</paragraph>
56         </listitem>
57      </list>
58      <section id="relatedtopics">
59         <embed href="text/scalc/guide/database_define.xhp#database_define"/>
60         <embed href="text/scalc/guide/database_filter.xhp#database_filter"/>
61         <paragraph xml-lang="en-US" id="par_id1846980" role="paragraph" l10n="NEW"><link href="https://wiki.openoffice.org/wiki/Documentation/How_Tos/Defining_a_Data_Range">Wiki page about defining a data range</link></paragraph>
62      </section>
63   </body>
64</helpdocument>