summaryrefslogtreecommitdiffstats
path: root/help/C/gedit-plugins-sort.page
blob: 042a44a7dd982fd8c1d182921a89aba979d77378 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<page xmlns="http://projectmallard.org/1.0/"
      type="topic" style="task"
      id="gedit-plugins-sort">

<info>
  <link type="guide" xref="gedit-plugin-guide#gedit-default-plugins"/>
  <revision pkgversion="3.8" date="2013-02-24" status="review"/>
    <revision version="3.24" date="2017-09-17" status="review"/>
  <credit type="author">
    <name>Daniel Neel</name>
    <email>dneelyep@gmail.com</email>
  </credit>
  <credit type="author">
    <name>Jim Campbell</name>
    <email>jcampbell@gnome.org</email>
  </credit>
  <credit type="editor">
    <name>Sindhu S</name>
    <email>sindhus@live.in</email>
  </credit>
  <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
  <desc>Sort lines of text into alphabetical order.</desc>
</info>

<title>Sort</title>

  <p>The Sort plugin arranges selected lines of text into alphabetical
  order.</p>

  <section id="enable-sort">
    <title>Enable Sort Plugin</title>

    <p>To enable the <app>Sort</app> plugin:</p>

    <steps>
      <item>
        <p>Select <guiseq><gui style="menu">gedit</gui>
        <gui style="menuitem">Preferences</gui>
        <gui style="tab">Plugins</gui></guiseq>.</p>
      </item>
      <item>
        <p>Select <gui style="menuitem">Sort</gui> to enable the plugin.</p>
      </item>
    </steps>

  </section>

  <section id="using-sort">
    <title>Using Sort Plugin</title>

    <p>To use the <gui>Sort</gui> plugin:</p>

    <steps>
      <item>
        <p>Select the desired lines of text.</p>
      </item>
      <item>
        <p>Select <guiseq><gui style="menu">Tools</gui>
        <gui style="menuitem">Sort…</gui></guiseq>.</p>
      </item>
      <item>
        <p>The <gui>Sort</gui> dialog will open, allowing you to choose between
        several sorting options:</p>
        <list>
          <item>
            <p><gui>Reverse order</gui> will arrange the text in reverse
            alphabetical order.</p>
          </item>
          <item>
            <p><gui>Remove duplicates</gui> will remove duplicate values from
            the list.</p>
          </item>
          <item>
            <p><gui>Ignore case</gui> will ignore case sensitivity.</p>
            <note style="tip">
              <p>To have the sort ignore the characters at the start of the
              lines, set the first character that should be used for sorting in
              the <gui>Start at</gui> column spin box.</p>
            </note>
          </item>
        </list>
      </item>
      <item>
        <p>To perform the sort operation, click <gui>Sort</gui>.</p>
      </item>
    </steps>
  </section>

</page>