Unstructured Text
Sort Lines A–Z
Put every line of your list into alphabetical order from A to Z.
When to use it
Typical uses: Alphabetising names, glossaries and bibliographies; Sorting tags, keywords or product lists; Making lists easier to scan or compare.
In a pipeline
Text InputSort Lines A–ZText 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 A–Z: an example
| Text |
|---|
| banana Item 10 apple Item 2 Éclair Cherry |
| Text |
|---|
| apple banana Cherry Éclair Item 2 Item 10 |
Worth knowing
- What is natural sorting? Natural sorting compares numbers by their value, so 2 comes before 10. Basic sorting compares digit by digit and would put 10 first.
- Is the sort case-sensitive? No. “apple” and “Apple” are treated as equal.
- Can I remove duplicates while sorting? Run your list through Remove Duplicate Lines first, then sort it.
- 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.