Sort lines by length

Paste multiple lines and sort them by character length, shortest first or longest first.

How it works

Paste multiple lines and sort them by character length, shortest first or longest first. Enter or paste the data, adjust the available options and run the operation. Review or copy the result when it is ready.

Example: sort “sun”, “mountain”, “sea” by line length.