How does the alphabetical sort handle numbers?
Alphabetical (A→Z, Z→A) sort compares strings character by character, so file10 sorts before file2 because "1" comes before "2" in lex order. Use Natural sort instead — it groups digits and treats them as numbers, so file2 < file10 < file100 as a human would expect.
What does the dedupe option do?
Dedupe removes the second and subsequent occurrence of any line that has already appeared. With case-insensitive checking on, "Apple" and "APPLE" count as duplicates. Combine with sort A→Z to produce a clean unique-and-ordered list — the equivalent of `sort -u` on Unix.
How does case-insensitive comparison work?
When enabled, both sort comparisons and dedupe checks lowercase the strings first. The output keeps the original capitalisation — only the comparison key is normalised. So "apple", "Apple", and "APPLE" sort together but the visible text is preserved.
Why might I want to sort by length?
Length sort is great for spotting outliers — finding the one absurdly long URL in a list, ordering CSV column names from short to long, or arranging code by line length to skim for complexity. Within the same length, lines are sorted alphabetically as a secondary key.
Is the shuffle truly random?
Yes — the tool uses the Fisher-Yates shuffle backed by JavaScript's Math.random(). For most use cases (randomising a list, picking a winner, generating quiz order) it is sufficient. For cryptographic randomness, use crypto.getRandomValues — but that level of guarantee is rarely needed for line shuffling.
How big a list can I sort?
The browser handles hundreds of thousands of lines comfortably. JavaScript's native Array.sort is O(n log n) and runs in milliseconds for 100k entries. Beyond a million lines you may notice a UI pause, but the sort still completes — no upload, no rate limit.
How does this compare to Unix sort?
Equivalent for most use cases: A→Z = `sort`, dedupe = `sort -u`, reverse = `sort -r`, ignore case = `sort -f`, natural = `sort -V`. The difference is that everything happens in the browser without launching a terminal — handy for quick fixups in copy/paste workflows.
Is the text uploaded?
No. Sorting runs entirely in JavaScript inside your browser. Open DevTools → Network and confirm: zero requests on every sort. Safe for proprietary lists, customer data, or any text you cannot paste into a remote tool.