The Sort plugin arranges selected lines of text into alphabetical order.
You cannot use the Undo feature to correct a Sort operation, so we recommend that you save the file immediately before performing the sort. If you make a mistake with the sort, you can revert to the previously-saved version of the file by selecting File ▸ Revert.
To enable the Sort plugin:
Select gedit ▸ Preferences ▸ Plugins.
Select Sort to enable the plugin.
To use the Sort plugin:
Drag and highlight the desired lines of text.
Select gedit ▸ Sort.
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.
To perform the sort operation, click Sort.
This work is licensed under a.
Got a comment? Spotted an error? Found the instructions unclear? Send feedback about this page.