{"content":{"intro":"Sort Lines puts a list in order, alphabetically from A to Z or Z to A, or numerically from smallest to largest and back. Paste one item per line and choose a sort.","sections":[["Alphabetical sorting that ignores capitals","A basic computer sort orders text by character codes, which puts every capitalized word before every lowercase one, so \"Zebra\" would come before \"apple\". This tool uses language-aware comparison instead, so \"apple\" and \"Apple\" sit together and accented letters such as \"é\" are placed next to their plain versions."],["Why numbers need their own sort","Sorted alphabetically, \"10\" comes before \"9\", because the first characters \"1\" and \"9\" are compared first. The number modes read the value at the start of each line, so 2, 9, 10 and 100 come out in true numeric order. Decimals and negative numbers work too. Lines that don't start with a number are treated as zero."],["Everyday uses","Alphabetize a guest list, a glossary or a reference list; put scores, prices or measurements in order; or tidy a list of names before sharing it."]],"faqs":[{"q":"Does Sort Lines remove duplicates?","a":"No, it only reorders. To remove repeated lines, use the Text Cleaner before or after sorting."},{"q":"Why are blank lines at the top of my result?","a":"Empty lines sort before everything else. Remove them first with the Text Cleaner's \"Remove blank lines\" option."},{"q":"Can I sort names by surname?","a":"Not directly, each line is sorted from its first character. If your list is \"First Last\", rewrite it as \"Last, First\" before sorting."}]},"copy":{"explain":"Lines are compared in a language-aware way that ignores capitals (unless &quot;Case-sensitive&quot; is on). Natural number sorting reads digits as numbers, so &quot;item 2&quot; comes before &quot;item 10&quot;. The 1 → 9 order sorts by the first number found in each line; lines without a number go last.","example":"&quot;Mango / banana / Apple / item 10 / item 2 / Cherry / banana&quot; sorted A → Z with natural numbers → Apple, banana, banana, Cherry, item 2, item 10, Mango. Switch on &quot;Remove duplicates&quot; and the second banana is dropped.","intro":"Sort Lines puts a list in order, A → Z or Z → A, by number, by length, in reverse, or shuffled at random. Options let you remove duplicates, drop blank lines, trim spaces, sort case-sensitively and number the result, all updating instantly.","sections":[["Alphabetical sorting that ignores capitals","A basic computer sort orders text by character codes, which puts every capitalized word before every lowercase one, so &quot;Zebra&quot; would come before &quot;apple&quot;. This tool uses language-aware comparison instead, so &quot;apple&quot; and &quot;Apple&quot; sit together and accented letters are placed next to their plain versions."],["Natural number order","Sorted as plain text, &quot;item 10&quot; comes before &quot;item 2&quot;, because &quot;1&quot; is compared before &quot;2&quot;. With &quot;Natural numbers&quot; on, numbers inside lines are compared by value, so file names, chapters and invoice numbers come out in the order people expect. The 1 → 9 and 9 → 1 orders sort purely by the first number in each line, including decimals and negatives."],["More ways to order","&quot;Shortest first&quot; and &quot;Longest first&quot; sort by line length, &quot;Reverse order&quot; flips the list as it is, and &quot;Shuffle&quot; puts it in random order, handy for picking a running order or randomizing a quiz."]],"faqs":[{"q":"Can Sort Lines remove duplicates?","a":"Yes. Switch on &quot;Remove duplicates&quot;. It ignores capitals unless &quot;Case-sensitive&quot; is also on."},{"q":"Why were my blank lines removed?","a":"&quot;Drop blank lines&quot; is on by default. Switch it off to keep empty lines in the result."},{"q":"Can I sort names by surname?","a":"Not directly, each line is sorted from its first character. If your list is &quot;First Last&quot;, rewrite it as &quot;Last, First&quot; before sorting."}]},"feat":[["Six sort orders","A → Z, Z → A, by number, by length, reversed or shuffled."],["Remove duplicates","Drop repeated lines and blank lines in the same step."],["Fine control","Trim spaces, sort case-sensitively and number the result."],["Instant","The sorted list updates as you change options."]],"faqx":[{"q":"Why does &quot;item 10&quot; come before &quot;item 2&quot; when I sort?","a":"That is plain character order, where 1 comes before 2. Keep &quot;Natural numbers (2 before 10)&quot; switched on, which it is by default, and digits are read as whole numbers, so item 2 comes before item 10 as you would expect."},{"q":"How do I rank students or scores from highest to lowest?","a":"Put one entry per line, such as &quot;Priya 92&quot;, and choose 9 → 1. Lines are sorted by the first number found in each line, so &quot;Priya 92, Rahul 85, Amit 78&quot; comes out in that order. Lines with no number go to the end."},{"q":"What is the difference between Z → A and Reverse order?","a":"Z → A sorts the lines alphabetically from Z to A. Reverse order does no sorting at all; it simply flips your list so the last line comes first, which is handy for turning an oldest-first log into newest-first."},{"q":"What does the Case-sensitive option change?","a":"By default capitals are ignored, so &quot;apple&quot; and &quot;Apple&quot; sort together and count as duplicates. With Case-sensitive on, upper and lowercase versions are treated as different lines, so both are kept when you remove duplicates and they sort as separate entries."},{"q":"Can I shuffle a list to pick a random order?","a":"Yes. Choose Shuffle and the lines are put in a random order, which is useful for presentation turns, quiz questions or a simple lucky draw. Each shuffle is random, so the order will differ from one run to the next."},{"q":"How can I number the sorted list?","a":"Switch on &quot;Number the lines&quot; and each line of the sorted result gets a running number, so you can paste a ready-made ranked or ordered list into a document or message without numbering it by hand."},{"q":"Can I sort lines by length?","a":"Yes. &quot;Shortest first&quot; and &quot;Longest first&quot; sort by the number of characters in each line. Lines of equal length are then sorted alphabetically, so the result stays predictable, which helps when tidying keyword lists or checking which titles are too long."},{"q":"Can I sort a column copied from Excel?","a":"Yes. Copy a single column and paste it in; each cell becomes one line. Sort it, then copy the result back into the sheet. If you copy several columns, each row is sorted as one line by whatever text it starts with."}]}