How can I sort lines in Geany?

Solution 1:

I found the answer on http://crunchbang.org/forums/viewtopic.php?id=24607

  • From the menu bar, select Edit - Format - Send Selection to - Set Custom Commands.
  • Click the Add button in the Set Custom Commands window.
  • Enter sort in the command field, enter sort or a name to your liking in the label field, and then click the OK button.
  • Select the text that you want to sort.
  • Right-click on the selected text and select Format - Send Selection to - sort to sort the selected text.