Text & writing
Sort lines
Sort lists alphabetically or by numeric value.
A clear answer. Here’s how.
Text sorting uses English locale comparison with numeric substrings. Numeric modes require a finite number on every non-empty line. Empty lines are removed.
See a worked example
Worked example
A fixed demonstration, separate from the values you enter above.
- One item per line
Banana apple Pear orange
- Sort order
- A to Z (English)
Example result
apple Banana orange Pear