Text Sorter guide
Text Sorter Description
Text Sorter - sort plain text lines, numeric lists, and JSON arrays directly in your browser. It is built for developers, analysts, editors, and operations teams who need predictable ordering without sending data to a server. All processing runs locally in the browser, so pasted content is not uploaded to Tool3M.
Features
How to Use
FAQ
Practical Use Cases
- Normalize API fixture lists before committing tests.
- Clean exported spreadsheet columns before importing them into another system.
- Prepare command-line allowlists, deny-lists, package names, or configuration keys.
- Inspect JSON arrays from logs or browser devtools without switching to a server-side script.
Technical Background
The tool treats multiline input as a sequence separated by standard line breaks. Number mode validates each non-empty line with JavaScript numeric parsing, then compares numeric values instead of lexicographic strings. JSON mode requires the input to parse as a JSON array, because array order is the structure the tool can transform without inventing field semantics. Complex JSON objects are compared with a stable key-sorted representation, while the output preserves the original JSON values.
Limitations
- Very large inputs are limited by browser memory and editor responsiveness.
- JSON mode intentionally handles arrays only and does not infer object fields or nested business rules.
- Locale-specific collation may vary slightly between browsers because comparison is delegated to the browser runtime.
Reviewed by Tool3M Editorial Team
Updated April 25, 2026