| Metric | Value | Copy |
|---|---|---|
| {{ r.label }} | {{ r.value }} |
| Metric | Value | Copy |
|---|---|---|
| {{ r.label }} | {{ r.value }} |
Text lists are collections of lines that become clearer and more reusable when arranged with consistent rules and tidy spacing. Many tasks benefit from a natural sort for text lines that treats embedded numbers as numbers so names like photo2 and photo10 fall in human order.
You provide the lines and choose how to compare them, then you decide whether to keep case distinctions or fold them for a simpler view. Results can include line numbers, added prefixes or suffixes, and a chosen separator so you can paste the output where it is needed next.
Cleaning options remove blank lines, trim stray spaces, and collapse runs inside each item. You can ignore a, an, or the at the start when ordering titles so common articles do not push important words out of view.
Filtering narrows the list to matches or excludes unwanted items using plain text or patterns. A seeded shuffle gives a repeatable draw that you can recreate by sharing the same seed with teammates.
For a quick example, paste filenames such as File1, File10, and File2, pick natural order, and the items come back as File1 then File2 then File10. Add numbers and a comma separator to create a copy ready list for the next step.
The content being measured is the order relationship between strings, with optional treatment of embedded digit runs as numeric values. The computation transforms your input into a processed list, applies filters, orders items with the selected comparison, removes repeats when requested, and emits a joined string together with simple counts. Natural ordering compares number sequences by value, while alphabetical ordering compares character by character with locale aware rules.
Results include the sorted items, totals, unique counts after processing, and averages that help spot unusual entries such as very long or empty lines. Comparability across runs improves when you keep the same locale, case policy, separators, and filter settings. Shuffle mode can be deterministic with a seed so the same inputs and seed recreate the same order.
Locale aware comparisons are performed with string collators both in standard and numeric modes, falling back to the default locale if the supplied tag is not valid. Seeded shuffling uses a Fisher–Yates style pass driven by a Mulberry32 pseudo‑random generator seeded from a 32‑bit FNV‑1a hash of your seed text.
| Symbol | Meaning | Unit/Datatype | Source |
|---|---|---|---|
| L | Input lines split by the selected separator | string[] | Input |
| L′ | Preprocessed lines after trim, collapse, and stripping | string[] | Derived |
| F | Filter predicates (include, exclude, optional regex) | boolean per line | Input |
| S | Comparator (alphabetical, natural, reverse, length, shuffle) | ordering rule | Input |
| J | Joiner built from output separator and newline style | string | Input |
| O | Final output after optional numbering and affixes | string | Derived |
| Field | Type | Min | Max | Step/Pattern | Error Text | Placeholder |
|---|---|---|---|---|---|---|
| Text | textarea | — | — | Splits by newline, comma, semicolon, space, or tab | — | Paste lines… |
| Upload file | file | — | — | Accepts .txt, .csv, text/plain; newlines normalized | — | — |
| Locale | text | — | — | Optional BCP‑47 tag; blank uses default | — | auto |
| Sort mode | select | — | — | Alphabetical A–Z/Z–A, Natural A–Z/Z–A, Length, Reverse, Shuffle | — | — |
| Regex filter | text | — | — | Flags allowed: g i m s u y | Invalid regex | — |
| Newline style | select | — | — | LF, CRLF, or CR applied when joining with newline | — | — |
| Shuffle seed | text | — | — | Seed hashed to 32‑bit for deterministic order | — | optional seed |
Processing runs entirely in the browser; files are read locally and newlines are normalized on load. No network requests are required to compute results.
Privacy & compliance: Files are processed locally; nothing is uploaded. Outcomes are purely random and have no monetary value.
Text line ordering with optional cleanup and filters produces a tidy, reusable list.
Pro tip: keep the same locale and case policy across projects to make results comparable.
No. Text and files are handled within the browser for processing and are not sent to a server.
Files are read locally and newlines are normalized during read.It compares digit runs by numeric value, so 2 precedes 10. Ties fall back to standard string comparison influenced by locale.
Newline, comma, semicolon, space, and tab are available for both splitting and joining.
Yes. Enable the unique option to drop repeats after preprocessing and filtering.
No. Shuffle permutes the list without repeats. Provide a seed to recreate the same order later.
Once the page is loaded, processing does not require network access. Availability depends on the host page and your cache.
It is the mean count of whitespace‑separated tokens per line after all processing and sorting have been applied.
Refer to the site’s terms for licensing and any usage conditions.