Line Sorter: Numeric, Natural, Filters & Shuffle
Sort exact decimal strings, text or natural identifiers; keep or exclude matches, remove duplicates, reverse or shuffle locally.
Enabling local controls…
1. Input and options
Runs in page memory, without uploading or saving input. Text input and generated output: 1 MiB UTF-8 each. Copy is explicit; results clear whenever inputs change.
Defaults preserve ordinal order, spaces and blanks. Numeric mode uses exact signed decimals without exponents; nonnumeric lines stay last. Regex runs in a cancellable Worker (1s processing). LF output; at most 50,000 lines and 1MiB.
2. Result
Enter input or load a sample, then run.
If clipboard access is denied, select the output and copy manually.
How to use this tool
Enter one item per line. Choose order, contains/prefix/suffix/exact/regex filtering and keep/exclude. Length counts Unicode graphemes.
When not to use it
Defaults preserve ordinal order, spaces and blanks. Numeric mode uses exact signed decimals without exponents; nonnumeric lines stay last. Regex runs in a cancellable Worker (1s processing). LF output; at most 50,000 lines and 1MiB.