Sort Lines
Sort a list of lines alphabetically, by length, or numerically — ascending or descending.
Advertisement
How to use Sort Lines
- Paste your lines.
- Pick a sort mode and direction.
- Optionally remove empty lines.
- Copy the sorted result.
What is Sort Lines?
Sorting a list of lines is useful for organizing data, cleaning lists, or preparing input for further processing. This tool offers three sort modes: alphabetical (with optional case-insensitivity), by line length, or numeric (parsing each line as a number).
Advertisement
FAQ
- Does numeric sort handle decimals?
- Yes. Lines starting with valid numbers (including decimals and negatives) are compared numerically.
- What happens to non-numeric lines in numeric mode?
- They sort after all numeric lines.