Sort Lines before-and-after example
Sort Lines before-and-after example: Input text = beta, then alpha on separate lines Sort Lines expected result: The sample result places alpha before beta.
Sort Lines applies its documented browser-side transformation to the displayed fields.
Sort Lines before-and-after example: Input text = beta, then alpha on separate lines Sort Lines expected result: The sample result places alpha before beta.
For Sort Lines, text is handled as a JavaScript string; the operation does not normalize Unicode forms, so visually identical composed and decomposed text can remain different.
For Sort Lines, line operations split on LF or CRLF. For Sort Lines, whitespace is preserved unless the named transformation explicitly trims, removes, or replaces it.
For Sort Lines, sorting uses localeCompare in the current browser; case and accent ordering can vary with the browser locale. For Sort Lines, duplicate input is retained unless the named operation explicitly removes or reports duplicate lines.
For Sort Lines, lines are sorted ascending with String.localeCompare in the current browser, not byte order or a fixed server locale.
For Sort Lines, empty input can produce an empty result, a zero count, or the page’s validation message. For Sort Lines, the operation does not repair malformed data beyond its documented transformation.
For Sort Lines, the transformation runs in the current browser session and the page code does not submit the text to this site’s server. Sort Lines reads and processes the supplied values in the current browser and does not submit them to an application endpoint. Browser extensions, device security and any manual sharing or download from Sort Lines remain outside the tool’s control.
To verify Sort Lines, reproduce its worked example and compare the displayed or downloaded output with the stated expected result. When Sort Lines returns a file, open the download and inspect every affected page or image. After using Sort Lines, you may also find these tools useful: word-counter, case-converter, remove-duplicate-lines.
Continue the workflow
Sort Lines is part of the Text Tools section. Use the nearby pages below when the same job needs checking, cleanup, conversion, formatting, or a different output before you finish.