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