Sort

The Sort plugin arranges selected lines of text into alphabetical order.

Enable Sort Plugin

To enable the Sort plugin:

  1. Select gedit ▸ Preferences ▸ Plugins.

  2. Select Sort to enable the plugin.

Using Sort Plugin

To use the Sort plugin:

  1. Drag and highlight the desired lines of text.

  2. Select Tools ▸ Sort….

  3. The Sort dialog will open, allowing you to choose between several sorting options:

    • Reverse order will arrange the text in reverse alphabetical order.

    • Remove duplicates will remove duplicate values from the list.

    • Ignore case will ignore case sensitivity.

      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 Start at column spin box.

  4. To perform the sort operation, click Sort.