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
Text InputSort Lines Z–AText Output
Settings
| Setting | Type | Required | Default or hint |
|---|---|---|---|
| Text column | select | — | Text |
| Remove empty lines | checkbox | — | true |
| Generate New Column | checkbox | — | false |
| New Column Name | text | — | Default: <column> Result |
| Insert After | select | — | After the column |
| When a value cannot be converted | select | — | stop |
Example
Sort Lines Z–A: an example
| Text |
|---|
| Version 9 alpha Version 10 Zulu bravo |
| 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.