Sort Lines
Sort lines A→Z, Z→A, numeric or by length. Optional dedupe and case-insensitive sorting.
Quick answer: Sort lines A→Z, Z→A, numeric or by length. Optional dedupe and case-insensitive sorting.
Last updated
Frequently asked questions
- How do I sort lines alphabetically?
- Paste your lines, pick A→Z, and the sorted list appears instantly. Toggle "Ignore case" if you want "apple" and "Apple" to sort together.
- How do I sort numbers correctly (1, 2, 10)?
- Pick the Numeric sort mode. It uses natural ordering, so 1, 2, 10 stays in that order instead of becoming 1, 10, 2.
- Can I sort lines by length?
- Yes. Pick "By length" — lines are sorted shortest to longest (ties broken alphabetically). Useful for finding overlong list items at a glance.
- Can I remove duplicates before sorting?
- Yes. Toggle "Remove duplicates" and the sorted output contains each unique line once. Combine with "Ignore case" to dedupe regardless of capitalisation.
- How do I sort a list of names?
- Paste names one per line and pick A→Z. For "Last, First" format, that sorts by last name; for "First Last", consider re-formatting first.
- How do I sort keywords for SEO?
- Paste your keyword list, sort A→Z, and dedupe. Then group by topic manually — alphabetical sort makes near-duplicates obvious.
- Does sorting change capitalization?
- No. The original capitalisation is preserved; only the order changes. "Ignore case" affects how lines are compared, not how they're displayed.
- Can I sort while keeping blank lines?
- Blank lines sort to the top (or bottom in Z→A). To remove them while sorting, also use the Remove Duplicate Lines tool with "Trim whitespace" first.
- Can I sort comma-separated values?
- Comma-separated values need to be on their own lines first. Use Find and Replace to split on commas, then sort here.
- What's the difference between sorting and filtering?
- Sorting reorders every line. Filtering removes lines that don't match a rule. For filtering, use Find and Replace with regex mode.