Four Ways to Order Independent Lines
Order independent plain-text lines by explicit English collation, grapheme length, original reverse order or an explicit shuffle. Blank items, duplicates and original item spelling remain. Numeric text comparison and case handling apply only to English ascending and descending modes. That covers sorting labels under known English rules, ordering digit-run labels such as item2 and item10, and reshuffling an ordinary list while keeping duplicates.
Paste one independent item per line. Choose an ordering mode. Enable numeric text comparison to put item2 before item10, or ignore case while retaining accent differences. In Random Order, click Shuffle or Shuffle Again; changing input or settings clears the previous random output. Copy after reviewing the result.
How the Orderings Are Compared
CRLF, LF and CR input separators become LF in output, including final empty records. English sorting uses Intl.Collator with en locale and variant sensitivity by default; Ignore case uses accent sensitivity. Numeric comparison compares digit runs, not signed decimal values or parsed numbers. Length counts Intl.Segmenter graphemes; equal-length ties retain input order. Reverse always reverses original input, not previously sorted output. Random uses Fisher-Yates with rejection-sampled Web Crypto draws, only on an explicit click.
Reference: ECMAScript internationalization rules. A textarea or the clipboard can normalize line endings before the tool sees them.
Four Settings and Their Exact Effects
| Input and setting | Result |
|---|---|
| item10, item2; numeric text comparison on | item2 before item10 |
| B, A; equal grapheme length | B, A retained as the stable tie order |
| C, A, B; Reverse Original Input | B, A, C |
| Random Order after editing input | No stale output; explicit Shuffle required |
What Sorting Does Not Do
This does not remove duplicates, trim items or preserve structured code/CSV records. Reordering imports, CSS declarations or log fragments can change behavior or destroy record relationships. Grapheme count is not UTF-16, bytes or display width. Collation can vary with runtime Unicode data. Shuffle provides a text permutation, not an audited prize draw or contest service.
Sorting accepts up to 1,000,000 UTF-16 units and 20,000 items. Larger input, or a browser missing a required API, clears the result and shows an error; the limits are size caps, not a speed promise. An empty result leaves Copy disabled. Keep the original list if its order or surrounding whitespace matters.
Choose numeric comparison for labels containing digit runs, rather than treating it as a decimal-number parser. Use Remove Duplicates when repeated items should go; Flip List offers the same original-input reversal as a direct workflow.