[{"data":1,"prerenderedAt":52},["ShallowReactive",2],{"tool-guide:list-sorter":3},{"overview":4,"whatIs":5,"useCases":6,"steps":12,"commonMistakes":18,"relatedStandards":24,"example":31,"limitations":35,"faq":39},"List Sorter & Randomizer cleans and reorders line-oriented text locally with alphabetical, natural, numeric, reverse, and cryptographically randomized modes.","Sorting and deduplicating lists is one of the most common text manipulation tasks in software development and data management. Whether you are alphabetizing a dependency list, naturally ordering version numbers, sorting IP addresses numerically, randomizing a list for A\u002FB testing, or removing duplicate entries from a CSV export, a list sorter handles it quickly. This tool operates on line-oriented text: each line is one item, and the tool sorts, reverses, shuffles, or deduplicates the entire list. Natural sort order is particularly useful for version numbers and file names because it treats embedded numbers as numeric values — so \"item-2\" sorts before \"item-10\" instead of after it (which alphabetical sort produces). The shuffle mode uses the browser's crypto.getRandomValues() for cryptographically secure randomization, producing an unbiased Fisher-Yates permutation. All processing happens locally in a Web Worker, and the tool supports lists up to 512 KiB and 20,000 lines.",[7,8,9,10,11],"Sorting dependency lists — alphabetize package names in a requirements.txt, package.json, or Cargo.toml for consistent ordering.","Ordering version numbers — use natural sort to order release tags (v1.2, v1.10, v2.0) correctly instead of alphabetically.","Deduplicating data — remove duplicate lines from CSV exports, log extracts, or email lists.","Randomizing test data — shuffle a list of test cases, user IDs, or items for unbiased A\u002FB testing or raffle selection.","Cleaning up configuration — sort and deduplicate environment variables, DNS entries, or firewall rules for easier review.",[13,14,15,16,17],"Paste one item per line into the input area.","Choose the ordering mode: alphabetical, natural (numbers treated numerically), numeric, reverse, or shuffle.","Optionally enable deduplication, whitespace trimming, blank line removal, or case normalization.","Process the list. The result shows the sorted, shuffled, or deduplicated output.","Copy the result or download it as a plain-text file.",[19,20,21,22,23],"Alphabetical vs natural sort — alphabetical sort puts \"item-10\" before \"item-2\" because \"1\" \u003C \"2\" character-by-character. Use natural sort when items contain numbers.","Case sensitivity — alphabetical sort is case-sensitive by default (\"B\" sorts before \"a\" in ASCII). Enable case normalization for case-insensitive sorting.","Numeric sort with non-numeric lines — numeric sort expects each line to be a valid number. Lines with text are not sorted correctly in numeric mode.","Whitespace differences — lines that look identical may differ by trailing spaces or tabs. Enable trimming to normalize whitespace before deduplication.","Locale-specific sorting — this tool uses English collation. Characters with diacritics (a, e, o) may sort differently than expected in other locales.",[25,28],{"title":26,"url":27},"Unicode Collation Algorithm","https:\u002F\u002Funicode.org\u002Freports\u002Ftr10\u002F",{"title":29,"url":30},"Natural Sort Order — Coding Horror","https:\u002F\u002Fblog.codinghorror.com\u002Fsorting-for-humans-natural-sort-order\u002F",{"label":32,"input":33,"output":34},"Naturally order release labels","release-10\nrelease-2\nrelease-1\nrelease-2","release-1\nrelease-2\nrelease-10",[36,37,38],"Numeric ordering accepts only finite decimal or scientific-notation values and rejects mixed text.","Locale-aware text ordering uses a fixed English collation locale for consistent results in this tool.","Input is limited to 512 KiB and 20,000 lines, and results remain only in current browser memory.",[40,43,46,49],{"question":41,"answer":42},"What is natural sort order?","Natural sorting treats embedded numbers as numeric values rather than text, so \"item-2\" sorts before \"item-10\" instead of after it. This matches how humans expect numbered items to be ordered.",{"question":44,"answer":45},"Can I remove duplicate lines?","Yes. Enable deduplication to keep only the first occurrence of each unique line. Duplicates are removed after trimming and optional case normalization.",{"question":47,"answer":48},"Is the shuffle truly random?","Yes. The shuffle uses the browser's crypto.getRandomValues() for cryptographically secure randomization, producing an unbiased permutation.",{"question":50,"answer":51},"What is the maximum list size?","The tool supports lists up to 512 KiB and 20,000 lines. Processing happens in a background worker to keep the UI responsive.",1788868140556]