← All nodes
Unstructured Text

Sort Lines Z–A

Put every line of your list into reverse alphabetical order, from Z to A.

When to use it

Typical uses: Listing versions or file names with the newest first; Reversing an alphabetical list without re-typing it; Sorting leaderboards or labels in descending order.

In a pipeline

Settings

SettingTypeRequiredDefault or hint
Text columnselect—Text
Remove empty linescheckbox—true
Generate New Columncheckbox—false
New Column Nametext—Default: <column> Result
Insert Afterselect—After the column
When a value cannot be convertedselect—stop

Example

Sort Lines Z–A: an example

    Text arriving
    Text
    Version 9 alpha Version 10 Zulu bravo
    The text after this node
    Text
    Zulu Version 10 Version 9 bravo alpha

    Worth knowing

    • How are numbers ordered? By value, so higher numbers come first when sorting Z–A.
    • Does it keep duplicate lines? Yes. Use Remove Duplicate Lines if you want unique items.
    • Is uppercase sorted separately? No. Letter case is ignored when comparing lines.
    • Works on any text column, not only Text Input's: pick it under Text column. Tick Generate New Column to keep the original next to the result.

    Others in Unstructured Text