Text tool

Text Sorter

Reorder a line-based list locally in your browser.

Output

How the text sorter works

Sort text lines alphabetically or numerically with case and whitespace options.

Alphabetical modes use locale-aware comparison; numeric modes compare finite numeric values.

Numeric ascending changes lines 10, 2, 30 into 2, 10, 30.

Assumptions and limitations

Blank lines are preserved unless removal is selected. Non-numeric lines sort after numeric lines in numeric modes.

Inputs and results stay in your browser. Blank, invalid, or mathematically undefined inputs show a clean placeholder instead of a broken number.

Practical use

Use this text tool to explore scenarios quickly, then verify important decisions against the original source data or requirements.

Frequently asked questions

Does the text sorter send my data anywhere?

No. It runs client-side in your browser and makes no network requests.

Why is the result blank or shown as a dash?

One or more inputs are blank, outside the accepted range, or would make the calculation undefined. Check the labels and enter finite values.

Can I use decimal values?

Yes, where decimals are meaningful. Counts that represent whole items may require integers.