Command Selection Sort Lines

The SortLines command sorts the selected text lines.

When selecting the Sort Lines... menu item, the following dialog

Sort Lines Command Input

will help you specify the SortLines command parameters:

ascending

Specify if you want the lines to be sorted in ascending order.

caseSensitive

Specify if the sorting should be case sensitive.

removeDuplicates

Specify if you want duplicate lines to be removed.

Note that:

{SortLines}
...
{/SortLines}

is equivalent to:

{CopySelection}
{SortLinesClipboard}
...
{/SortLinesClipboard}
{Paste}

Example

The following expansion:

{SortLines}
ascending = "y"
caseSensitive = "n"
removeDuplicates = "n"
{/SortLines}

replaces the selected text by its sorted version in ascending order.