Sorting One Item on Each Line
Put banana on the first line, apple on the second, and cherry on the third, then sort. The list comes back as apple, then banana, then cherry. The headline reads 3 lines. The first labeled line is apple and the last labeled line is cherry. The text of the result is those three words on three lines, with the spelling left as you typed it. That small list is the sample sitting in the field, and it is the clearest way to see what the page is willing to change.
The comparison ignores letter case, so Banana and banana are the same place in the alphabet, while the characters you actually typed stay on the line. A line that is empty after the ends are trimmed is dropped before the count and before the sort. A line that is only spaces is treated as empty for that reason. What remains must be at least two lines and at most one hundred lines. Each of those lines must be 200 characters or fewer. A list of one item, a blank field, and a list of 101 items all stop with the same sentence: Enter from 2 to 100 lines.
This is a line sort, not a sentence sort and not a cleanup that joins wrapped prose. One item belongs on one line because the line is the unit that moves. If a name wraps only because the box is narrow, it is still one line as long as you did not press Enter in the middle of it. The button says Sort the lines. Reset puts the sample back. Copy result copies the sorted text, which is the list itself, not the headline count.
Read the first and last labels together with the full list. They are the ends of the same ordering, so they should match the top line and the bottom line of the text. If they do not, the text on screen is not the result this page just produced. The page does not store the list after you leave, and it does not look up a dictionary to decide whether a line is a real word. Any spelling is allowed inside the length limit. The order is alphabetical. The words are yours.
What Moves and What Stays
The page splits the field on line breaks, trims each piece, and throws away pieces that are empty. The survivors are compared without regard to letter case and then written from A toward Z. The original spelling of each survivor is copied into the result. banana, apple, and cherry therefore become apple, banana, and cherry, in that order, on separate lines. The headline is the count of survivors, written as a number of lines. For the sample that count is 3. Beside the list, First shows apple and Last shows cherry. Those two labels are a short reading of the ends, not a second sort.
A capital letter does not push a line into a different place. Apple and apple compare as the same alphabetic item, and both spellings remain if you entered both. Digits are characters in that same comparison, not numbers with place value, so the line 10 sorts before the line 2 because the character 1 comes before the character 2. The page will not renumber them. It will not strip punctuation that you typed in the middle of a line. It will not merge two lines that happen to be the same word. Two identical lines stay as two lines, now neighbors in the sorted text.
How the Sample Is Ordered
Start with the field as it opens: banana, apple, cherry, each on its own line. Choose Sort the lines. Blank lines are not present, so nothing is dropped. The comparison reads the three words without caring that they are already lowercase. apple comes first, banana next, cherry last. The result text is those three lines. The headline is 3 lines. First is apple. Last is cherry. The steps under the result say the same thing in order: drop blank lines, compare without regard to case, keep the original spelling. If you insert a blank line between apple and cherry and sort again, the blank line disappears and the three words return in the same order. The count stays 3 because a dropped line never enters the count.
Spaces at the ends of a line are removed before the comparison, so a line written as apple with spaces around it sorts as apple. Spaces in the middle of a line stay, because they are part of what you typed. A line of more than 200 characters is refused with Each line must be 200 characters or fewer, and the other lines are not sorted while that error is showing. Cleaning a paragraph is a different job. The Text Cleaner trims the ends and folds repeated spaces, tabs, and line breaks into one space. That fold would turn three list items into one line, and this page would then see a single item and refuse it. Clean prose there when you want one block. Leave the line breaks in place when each line is an item you want ordered.
Lines the Sort Will Not Repair
The sort will not invent a missing item, and it will not split one line into two because the line contains a comma. banana, apple, cherry written on a single line is one item, and one item is not enough. The page asks you to enter from 2 to 100 lines. Put each fruit on its own line if you meant three items. The same refusal appears when the field is empty, when every line is blank, and when more than 100 non-blank lines remain after trimming. The message does not tell you which of those problems you hit. Count the non-blank lines yourself.
A line that is too long fails on its own message, even if the list otherwise has a legal count. Shorten that line, or break it into two real items if you truly mean two items, and submit again. The page does not cut the line at 200 characters and sort the leftover. It does not change a misspelling into a dictionary word. It does not translate. It does not move a heading you typed into a title style that sits outside the alphabet. If the first line is a title you wanted to keep at the top, take it out before you sort, then put it back above the result. The alphabet will otherwise treat the title as one more item.
Lists You Can Sort by Hand First
Sort the sample and read apple, banana, cherry from top to bottom before you trust a longer list. Then replace the sample with Cherry, banana, and apple, keeping the capital C. The order is still apple, banana, Cherry. The capital C survives on the last line because the comparison ignored case and the printer kept the spelling. First is apple. Last is Cherry. The headline is still 3 lines. Next, try 10 on one line and 2 on the next. The sorted text has 10 above 2. That is character order. If you needed numeric order, this page is the wrong tool, and the result is still correct for the comparison it claims to run.
Add a blank line and a line of spaces to the fruit list. Both disappear. The three words remain. Paste a single word and confirm the refusal Enter from 2 to 100 lines. Paste 101 short words on 101 lines and confirm the same refusal. Paste one line of 201 characters beside a second short line and confirm Each line must be 200 characters or fewer. Joining lines on purpose is a separate cleanup. The Remove Line Breaks tool joins wrapped lines and can keep or drop a blank line between paragraphs. Use it when a paragraph was broken only by wrapping. Use this sorter when the line breaks are the boundaries between items.
Limits of Alphabetical Order
The order is the order of the characters after case is set aside. It is not a library order that knows titles, names of people, or leading articles. A line that starts with A comes before a line that starts with B. A line that starts with a digit comes where that digit's character sits, which is before the letters. Punctuation stays on the line and takes part in the comparison. The page does not move "the" to the end of a title. It does not sort by a column after a comma. If you typed Last, First as one line, the whole line is one key, and the comma is just another character.
Mistakes That Change the List
The usual miss is to leave several items on one line, separated by commas, and then wonder why the sort barely moved. The page never splits on commas. It splits on line breaks. Another miss is to expect 2 to come before 10. Character order puts 10 first. A third miss is to type one item, leave the rest of the field blank, and read the error as a failure of the alphabet. The error is the count. You need a second non-blank line. A fourth miss is to paste a paragraph, let the box wrap it, and believe each visual row is a line. Wrapping without an Enter is still one line. If that line is over 200 characters, the length error is the one you should read.
Changing case is a different edit, and it is easy to confuse with a case-insensitive sort. The Uppercase Converter turns hello into HELLO and does not perform any other case change. This sorter does not do that. Banana stays Banana even though it is ordered beside banana. If the result is in capitals, an uppercase conversion happened somewhere else. Sort again from the original spelling if you needed the letters preserved. Do not "fix" the alphabet by retyping the list in capitals unless capitals are the spelling you want kept.
When a Sorted List Helps
A sorted list is easier to scan for duplicates that are spelled the same way, including duplicates that differ only by case. Apple and apple will sit together, still spelled as you typed them, so you can decide which spelling to keep. It is also a practical way to put a short roster, a packing list, or a stack of labels into A-to-Z order before you copy it somewhere else. The page is a poor fit for a table. It has no second column, no numeric key, and no header row that stays pinned. Put one value on each line, the value you want used as the alphabetic key.
Reading the Result from End to End
Read the sample result as three separate facts that must agree. The text is apple, banana, cherry on three lines. The headline is 3 lines. First is apple and Last is cherry. Then read a list you care about the same way. The top line of the text and the First label are the same string. The bottom line and the Last label are the same string. The headline count equals the number of non-empty lines in that text. A blank line in the result would mean the text is not this page's sorted output, because blanks are dropped before the list is written. A changed spelling would mean the same thing. The sort is finished when those three readings agree and the order runs from A toward Z under a case-insensitive comparison.
Work one deliberate tie so you know what equal lines look like. Enter Apple and apple and a third word such as cherry. All three lines come back. The two apple spellings are both present. Neither has been forced into capitals or into lowercase. The cherry line sits where c belongs. If you needed a count of sentences instead of a count of lines, you are on the wrong page for that question. The Sentence Counter counts sentences that end with a period, a question mark, or an exclamation mark, and a decimal point between digits does not end a sentence. A sorted roster often has no sentence marks at all. Use the line count here for items. Use the sentence counter when the text is prose and the unit is a sentence.
After You Copy the List
Copy the sorted text, then paste it into a plain note and count the lines once yourself. The count should match the headline. Read the first and last lines against the labels. If you are going to edit further, edit the copy, not a memory of the order. The field on this page still holds what you submitted until you change it or reset it. Reset is the sample fruit list again. Sorting after a reset is a useful sanity check: apple, banana, cherry, three lines, First apple, Last cherry. If that check ever fails, stop and sort the sample again before you trust a longer list.
Checks on the Sample
Sort the sample and confirm apple, banana, cherry, a headline of 3 lines, First apple, and Last cherry. Insert a blank line and sort again. The headline stays 3 and the words stay in that order. Change cherry to Cherry and sort again. Last is Cherry with the capital C. Put 2 and 10 on two lines and confirm 10 comes first. Submit one line and read Enter from 2 to 100 lines. Submit a line longer than 200 characters and read Each line must be 200 characters or fewer. Reset and confirm the fruit sample is back in the field.
Those checks cover the comparison, the blank-line drop, the spelling, the count, and both refusals. They do not cover a generator. The Random Text Generator draws invented sentences from a fixed list of 16, and a seed repeats the same sentences. The sentences are not about a real person. If you need placeholder lines, draw them there, then paste the ones you want here with one sentence on each line. This page will alphabetize that paste. It will not draw a new sentence of its own.