How to use this text tool
- Paste or upload your text.
- Choose the processing mode and options.
- Run the tool, then copy or export the output.
Sort lines by the numbers they contain. Choose first, last, largest, or smallest detected number, then place lines in ascending or descending numeric order with clear parsing statistics.
This tool extracts numeric values from each line and sorts the full lines by those values rather than by plain alphabetical order.
Numeric sort detects integers, decimals, negative values, and comma-formatted numbers when enabled.
Input: Score 90 / Score 10 / Score 55. Output: Score 10 / Score 55 / Score 90 when using first number ascending.
Extract numbers with a numeric pattern, convert them to comparable values, sort by selected numeric target, and keep unresolved lines according to your option.
This browser-based tool processes text locally in your page. Very large files may depend on device memory and browser limits.
Paste one item per line, choose the numeric extraction mode, and run the tool. The full line is sorted by the detected number.
Yes. Decimal values and negative values are parsed as numbers, so -2, 3.5, and 10 are sorted correctly.
Keep the comma number option enabled. Values like 1,250.50 are converted to numeric values before sorting.
You can move them to the top, move them to the bottom, or remove them from the final output.
Alphabetical sorting may place 100 before 20. Numeric sorting compares actual number values instead.
| Module | Purpose |
|---|---|
| Input parser | Splits and prepares text according to selected options |
| Processor | Extract numbers with a numeric pattern, convert them to comparable values, sort by selected numeric target, and keep unresolved lines according to your option. |
| Statistics | Shows counts, changes, quality score, and export data |
| Export | Copy, TXT, CSV, JSON, and print actions |