Sort Lines by Number Prefix or Suffix
Sort lines of text by the number at the beginning or end of each line
Inputs
Text
Text that will be sorted.
Example:
1 apple
58 oranges
3 plums
8 grapes
17 pears
Order
Whether to sort the numbers highest to lowest (Descending) or lowest to highest (Ascending). Must be one of the dropdown options.
Example: Descending
, Ascending
Number Placement
Where in each line is the number placed. Must be one of the dropdown options.
Example: Start
or End
Newline Delimiter
Default newline delimiter is a new line. Use this field to specify a different delimiter.
Example:
Outputs
Sorted Text
The sorted version of the text.
1 apple
3 plums
8 grapes
17 pears
58 oranges