1<?xml version="1.0" encoding="UTF-8"?>
2<helpdocument version="1.0">
3
4<!--
5***********************************************************************
6 *
7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8 *
9 * Copyright 2000, 2010 Oracle and/or its affiliates.
10 *
11 * OpenOffice.org - a multi-platform office productivity suite
12 *
13 * This file is part of OpenOffice.org.
14 *
15 * OpenOffice.org is free software: you can redistribute it and/or modify
16 * it under the terms of the GNU Lesser General Public License version 3
17 * only, as published by the Free Software Foundation.
18 *
19 * OpenOffice.org is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 * GNU Lesser General Public License version 3 for more details
23 * (a copy is included in the LICENSE file that accompanied this code).
24 *
25 * You should have received a copy of the GNU Lesser General Public License
26 * version 3 along with OpenOffice.org.  If not, see
27 * <http://www.openoffice.org/license.html>
28 * for a copy of the LGPLv3 License.
29 *
30 ************************************************************************
31 -->
32
33
34<meta>
35      <topic id="textscalcguidedatabase_sortxml" indexer="include" status="PUBLISH">
36         <title xml-lang="en-US" id="tit">Sorting Data </title>
37         <filename>/text/scalc/guide/database_sort.xhp</filename>
38      </topic>
39   </meta>
40   <body>
41<bookmark xml-lang="en-US" branch="index" id="bm_id3150767"><bookmark_value>database ranges; sorting</bookmark_value>
42      <bookmark_value>sorting; database ranges</bookmark_value>
43      <bookmark_value>data;sorting in databases</bookmark_value>
44</bookmark>
45<paragraph xml-lang="en-US" id="hd_id3150767" role="heading" level="1" l10n="U"
46                 oldref="44"><variable id="database_sort"><link href="text/scalc/guide/database_sort.xhp" name="Sorting Database Ranges">Sorting Data</link>
47</variable></paragraph>
48      <list type="ordered">
49         <listitem>
50            <paragraph xml-lang="en-US" id="par_id3145751" role="listitem" l10n="U" oldref="45">Click in a database range.</paragraph>
51            <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>
52         </listitem>
53         <listitem>
54            <paragraph xml-lang="en-US" id="par_idN10635" role="listitem" l10n="NEW">Choose <item type="menuitem">Data - Sort</item>.</paragraph>
55            <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>
56         </listitem>
57         <listitem>
58            <paragraph xml-lang="en-US" id="par_idN10645" role="listitem" l10n="NEW">Select the sort options that you want.</paragraph>
59         </listitem>
60         <listitem>
61            <paragraph xml-lang="en-US" id="par_idN1063D" role="listitem" l10n="NEW">Click <emph>OK</emph>.</paragraph>
62         </listitem>
63      </list>
64      <section id="relatedtopics">
65         <embed href="text/scalc/guide/database_define.xhp#database_define"/>
66         <embed href="text/scalc/guide/database_filter.xhp#database_filter"/>
67         <paragraph xml-lang="en-US" id="par_id1846980" role="paragraph" l10n="NEW"><link href="http://wiki.services.openoffice.org/wiki/Documentation/How_Tos/Defining_a_Data_Range">Wiki page about defining a data range</link></paragraph>
68      </section>
69   </body>
70</helpdocument>