Sort a list of lines alphabetically, numerically, by length, or shuffle them randomly.
Any list that grows over time — names, tasks, file names, product codes, survey responses — eventually needs sorting to be useful, whether that's alphabetizing a guest list, ranking items by length, putting numbers in order, or just shuffling a list into a random order for a fair draw or game. Doing this by hand for anything beyond a handful of lines is slow and error-prone, and spreadsheet software is overkill when all you have is a simple list of lines.
This tool sorts any block of text, one line at a time, using whichever method fits what you're doing: standard alphabetical order in either direction, numeric order when each line is a number, shortest-or-longest-first when line length matters, or a full random shuffle. The case-insensitive option treats "Apple" and "apple" as equivalent during sorting, and the duplicate removal option clears out any exact repeats so the final list contains only unique lines.
Numeric sort mode works by reading the number at the very start of each line — useful for lists like "23, Apple" or plain numbers like "150" — and falls back to treating a line as zero if no number is found at the start, so it's worth double-checking the output if your lines mix numbers and plain text. For lists that are purely names, words, or labels without numbers, the alphabetical sort options are the more reliable choice.
The random shuffle mode is genuinely useful beyond just games — teachers use it to randomize the order of student names for presentations or seating, event organizers use it for raffle draws or random group assignments, and developers sometimes use it to generate randomized test data orderings. Combined with the duplicate-removal option, it's also a quick way to take a messy, repeated list — like email addresses collected from multiple sign-up forms — and turn it into a clean, deduplicated, and properly ordered list in a single step, without needing a spreadsheet or any coding knowledge, making it a quick fix for messy lists collected from forms, surveys, or shared documents over time, and a habit worth building for anyone who regularly works with lists handed over by other people.
समय के साथ बढ़ने वाली कोई भी list — names, tasks, file names, product codes, survey responses — आख़िरकार उपयोगी बनने के लिए sort करनी पड़ती है, चाहे वह guest list को alphabetize करना हो, items को length से रैंक करना हो, numbers को क्रम में लगाना हो, या किसी fair draw या game के लिए list को randomly shuffle करना हो। मुट्ठी भर lines से ज़्यादा कुछ भी हाथ से करना धीमा और गलतियों भरा है, और जब सिर्फ़ lines की एक simple list हो तो spreadsheet software ज़रूरत से ज़्यादा है।
यह tool किसी भी block of text को एक-एक line करके sort करता है, जो भी तरीका आपके काम के लिए सही हो उसी से: standard alphabetical order किसी भी दिशा में, numeric order जब हर line एक number हो, shortest-or-longest-first जब line की length मायने रखे, या पूरा random shuffle। Case-insensitive option "Apple" और "apple" को sorting के दौरान बराबर मानता है, और duplicate removal option किसी भी exact repeat को हटा देता है ताकि final list में सिर्फ़ unique lines रहें।
Numeric sort mode हर line की बिल्कुल शुरुआत में मौजूद number पढ़कर काम करता है — "23, Apple" जैसी lists या सीधे "150" जैसे numbers के लिए उपयोगी — और अगर शुरुआत में कोई number न मिले तो line को zero मानकर आगे बढ़ता है, तो अगर lines में numbers और plain text मिले-जुले हों तो output एक बार ज़रूर जांच लें। ऐसी lists के लिए जो सिर्फ़ names, words, या labels हों बिना numbers के, alphabetical sort options ज़्यादा भरोसेमंद विकल्प हैं।
Random shuffle mode सिर्फ़ games से कहीं आगे genuinely उपयोगी है — teachers इसका इस्तेमाल presentations या seating के लिए student names का क्रम randomize करने में करते हैं, event organizers raffle draws या random group assignments के लिए करते हैं, और developers कभी-कभी randomized test data orderings बनाने के लिए करते हैं। Duplicate-removal option के साथ मिलाकर, यह किसी गड़बड़, बार-बार आने वाली list — जैसे कई sign-up forms से इकट्ठे किए email addresses — को एक ही step में साफ़, duplicate-रहित, और सही क्रम वाली list में बदलने का तेज़ तरीका भी है, बिना किसी spreadsheet या coding knowledge की ज़रूरत के।
Q. How does numeric sort handle lines with text and numbers mixed? | Numeric sort text और numbers मिले-जुले lines को कैसे handle करता है?
It reads the first number it finds anywhere in each line and sorts by that value, treating a line with no number at all as zero. | यह हर line में कहीं भी मिलने वाला पहला number पढ़ता है और उस value से sort करता है, बिना किसी number वाली line को zero मानता है।
Q. What does "Case-insensitive" change during sorting? | Sorting के दौरान "Case-insensitive" क्या बदलता है?
It makes "Apple" and "apple" sort as equivalent, instead of capital letters always sorting before lowercase ones. | यह "Apple" और "apple" को sorting में बराबर बना देता है, बजाय इसके कि capital letters हमेशा lowercase से पहले sort हों।
Q. How does "Remove duplicate lines" decide what's a duplicate? | "Remove duplicate lines" कैसे तय करता है कि क्या duplicate है?
It compares each line's exact text (respecting the case-insensitive option if checked) and keeps only the first occurrence of each unique line. | यह हर line के exact text को compare करता है (case-insensitive option checked होने पर उसका ध्यान रखते हुए) और हर unique line की सिर्फ़ पहली occurrence रखता है।
Q. What does the random shuffle option do exactly? | Random shuffle option असल में क्या करता है?
It rearranges all lines into a completely random order using a fair shuffle algorithm, different every time you click "Sort Lines." | यह सभी lines को एक fair shuffle algorithm से पूरी तरह random order में rearrange करता है, हर बार "Sort Lines" click करने पर अलग।
Q. Does "Trim blank lines" remove lines with only spaces? | क्या "Trim blank lines" सिर्फ़ spaces वाली lines भी हटाता है?
Yes — a line is considered blank if it is empty or contains only whitespace after trimming, and both are removed when this option is on. | हाँ — किसी line को blank माना जाता है अगर वह खाली हो या trim करने के बाद सिर्फ़ whitespace हो, और यह option चालू होने पर दोनों हटा दी जाती हैं।
Q. Can I sort lines by length? | क्या मैं lines को length से sort कर सकता हूँ?
Yes — choose "Shortest line first" or "Longest line first" from the sort method dropdown. | हाँ — sort method dropdown से "Shortest line first" या "Longest line first" चुनें।
Q. Can I combine deduplication with sorting? | क्या मैं deduplication को sorting के साथ combine कर सकता हूँ?
Yes — "Remove duplicate lines" and your chosen sort order both apply together in a single click. | हाँ — "Remove duplicate lines" और आपका चुना हुआ sort order दोनों एक ही click में साथ लागू होते हैं।
Q. What should my input look like? | मेरा input कैसा दिखना चाहिए?
Paste one item per line into the input box — each line break separates one entry from the next. | Input box में हर item को एक अलग line में paste करें — हर line break एक entry को दूसरे से अलग करता है।
Q. Can I download the sorted list? | क्या मैं sorted list download कर सकता हूँ?
Yes — click "Download .txt" to save the sorted output as a plain text file. | हाँ — sorted output को plain text file के रूप में save करने के लिए "Download .txt" पर क्लिक करें।
Q. Is my list uploaded anywhere? | क्या मेरी list कहीं upload होती है?
No — all sorting and shuffling happens entirely inside your browser; nothing is sent to any server. | नहीं — सारी sorting और shuffling पूरी तरह आपके browser के अंदर होती है; कुछ भी किसी server पर नहीं भेजा जाता।
Q. Why would I use the random shuffle beyond games? | Games से आगे मैं random shuffle क्यों इस्तेमाल करूं?
Teachers use it to randomize presentation order, event organizers use it for raffle draws, and it's handy for any fair, unbiased ordering of a list. | Teachers इसे presentation order randomize करने के लिए, event organizers raffle draws के लिए इस्तेमाल करते हैं, और यह किसी list को fair, unbiased order देने के लिए उपयोगी है।