Switching language reloads this page. Copy or save any inputs and results first.
32 / TEXT
List sorter
Choose a delimiter and sort order to organize items.
Sorts in the order listed above. Unlisted items remain at the end in their original order. Duplicates are kept.
Up to 100,000 characters and 10,000 items. With numeric sorting, nonnumeric items stay at the end in their original order. CSV quoting is not parsed; use the CSV editor for quoted data.
Inputs and results are processed in your browser and are not saved.
How to use, examples and questions
Split a list by a delimiter and sort naturally, lexically, numerically, by length, in reverse or by a custom order. Duplicates are preserved. Copy or save results as text.
List sorter — how to use
Enter a list and choose line breaks, commas, tabs or a custom delimiter.
Choose a comparison method and sort order. For “Custom order”, enter priority items one per line.
Press “Sort”, review the result, then copy or save as text.
Input and output examples
Apply a custom order
Settings: Delimiter: comma / custom order: apple → banana
Input
banana,apple,other,banana
Output
apple,banana,banana,other
Items not specified remain at the end in their original order.
Frequently asked questions
How are item2 and item10 sorted?
Natural order places item2 before item10. Lexical, numeric and length sorting are also available. Numeric comparison preserves large-integer digits; nonnumeric items stay last in both ascending and descending order.
Are CSV quotes and embedded line breaks parsed?
Lists are split directly on the specified delimiter. Use the CSV or TSV editor for quoted data. Limits: 100,000 characters and 10,000 items.
Specifications and limits
Supports line breaks, commas, tabs and custom delimiters. Sort naturally, lexically, numerically, by length, in reverse or by a custom order. Maximum 100,000 characters and 10,000 items.
Analytics and privacy
Conversion inputs and results are processed in your browser. Image URL and OGP loads connect directly to your chosen destination only when you select the corresponding button. Image, video, Markdown, HTML, CSV and TSV files are not uploaded to our servers. Self-signed certificates and signatures are generated locally; private keys are never sent to our servers or analytics. Markdown external images and HTML scripts are not loaded. The API client sends the URL, headers, body and selected files directly to the endpoint only when you select Send or its shortcut. Speed tests exchange generated test data with Cloudflare when you start a measurement. These destinations receive your IP address. We do not proxy these connections or send inputs or measurement results to analytics. Conversions are not saved automatically. Unsaved API inputs, responses, history and environments stay only in this page. Only API requests explicitly selected with Save in this browser are stored. Auth fields, secret variables, known auth headers and files are excluded; review URLs, bodies and custom headers for other secrets first. Collection exports include URLs and bodies, so review them before sharing.
When analytics is enabled, we use Google Analytics 4 to measure pages, tool names and use counts, actions such as copying or saving an image, speed test starts, completion, cancellation and errors, product link clicks, and monitoring guide and service clicks using fixed IDs. Google uses cookies and collects device and browser information. Google signals for advertising and ad personalization are disabled.
Disabling analytics stores only that preference in this browser. Analytics settings never contain your inputs.Google's privacy policy