How to use Text Sorter
Sort lines in ascending or descending order. Sorting uses the browser locale. Empty lines participate in sorting; duplicate lines are retained.
- Set Input.
- Set Order.
- Run the tool, review the result and its stated limitations, then copy or download if needed.
Example & practical use
Sort lines in ascending or descending order. The example below demonstrates Input; Order.
Example input:
{
"text": "b\na",
"order": "ascending"
}
Expected result (relevant fields):
"a\nb"Features & result limitations
Sorting uses the browser locale. Empty lines participate in sorting; duplicate lines are retained.
Frequently asked questions
What inputs does Text Sorter accept?
Input; Order
How should I interpret the Text Sorter result?
Sorting uses the browser locale. Empty lines participate in sorting; duplicate lines are retained.
Where does Text Sorter process my data?
Inputs are processed locally in your browser. Submitted text is not sent to external services. A successful-run event increments an aggregate tool counter without your input.