0

Encoded

Line Sort
Order

About Line Sort

Line Sort rearranges a block of text one line at a time. It can sort the input lines in ascending or descending order, or simply reverse their current order.

Ascending and descending order compare each whole line as a Unicode string. Reverse order does not change the text in each line; it only flips the order of the lines from top to bottom.

For example, when the following text is sorted in ascending order:

banana
apple
orange

The result is:

apple
banana
orange
OrderDescriptionConversion Example
AscendingSorts the lines from smaller to larger Unicode string values.apple, banana, orange
DescendingSorts the lines from larger to smaller Unicode string values.orange, banana, apple
ReverseReverses the order of the input lines.orange, apple, banana

Uppercase and lowercase letters, numbers, symbols, and non-Latin characters are compared as Unicode characters. The result is based on string comparison, not on natural-language dictionary order or numeric value.