Choose line or word entries, then sort alphabetically, in descending alphabetical order or numerically. Review blanks and numeric formats before copying the result.
The text sorter reorganizes the items you supply rather than deciding which items belong together. Paste the source, choose Sort Lines or Sort Words, select an ordering mode and press Sort. The output appears in a separate box, leaving the source available for comparison. Line mode uses actual newline entries, while word mode splits at whitespace. Choose the unit first, because sorting the wrong unit can change the relationship between names, labels and descriptions.
For a list of full names, keep one complete name on each line and choose line mode. Word mode would separate given names and surnames, then reorder the pieces independently. For a short collection of individual words, word mode can be appropriate. The tool does not parse CSV columns, preserve quoted phrases as units or recognize which part of a record is its sorting key, so prepare a plain list that matches its available boundaries.
In A to Z mode, the function compares strings using the browser's locale-aware comparison. Simple lowercase entries “pear”, “apple” and “banana” become “apple”, “banana” and “pear”. Z to A reverses that comparison direction. This is descending alphabetical sorting, not merely reversing the original sequence. A source that was initially unordered can therefore produce a result quite different from what the Reverse Text tool returns in line mode.
Numeric mode converts entries with JavaScript's Number operation before comparing them. A list containing 10, 2 and 1 sorts as 1, 2 and 10 in that mode. Alphabetical comparison treats the entries as strings instead, which is a different question from numeric magnitude. Use a small known sample to verify the chosen mode before sorting a longer list of quantities, identifiers or values copied from another application.
Numeric conversion is not the same as extracting the number from the beginning of a label. An entry such as “12 apples” is not a valid complete Number value, so it cannot be relied on to sort by twelve. Commas used as thousands separators, currency symbols and units can cause similar problems. Clean a working copy into the supported numeric representation when magnitude is the intended ordering criterion.
Blank or whitespace-only entries can convert to zero, and very large integers may exceed JavaScript's exact integer precision. A code with leading zeros can also have the same numeric value as another differently written code. Keep identifiers as text when their spelling matters more than magnitude. The tool does not validate every entry or flag all non-numeric values before sorting, so inspect the input rather than treating any generated sequence as a certified numeric ordering.
Line mode retains blank entries and the spaces inside each line. It does not trim all records or remove empty rows before sorting. Word mode splits at whitespace and rejoins with single spaces, so tabs, line breaks and repeated internal separators are not preserved as distinct formatting. Leading or trailing whitespace can create empty split pieces. Those differences explain why the same pasted block can produce different counts and layout depending on the item mode.
If a blank line is a meaningful separator between groups, sorting the whole block will move it along with the entries instead of keeping the groups intact. Sort each group separately or remove unwanted blank entries from a copy before converting. Likewise, a heading pasted at the top is an ordinary record to the tool and can move into the middle of the result. Select only the list you actually intend to reorder.
Alphabetical comparison uses localeCompare without an explicit locale selector or a fixed set of collation options. Case differences, accented letters and punctuation can therefore be ordered according to the browser's comparison behavior rather than a rule you selected in the interface. Plain examples are easy to inspect, but a multilingual directory or formal index may need a specified language order and additional editorial rules beyond the controls offered here.
Do not use a short A to Z label as a promise that every symbol follows one universal alphabet. Test names from the actual list and compare the output with the order your task requires. If stable ordering across environments matters, use a system that lets you choose and record the locale and comparison options. This page is a convenient plain-text organizer, not a configurable collation engine for every publication or data-processing standard.
Duplicate entries remain in the sorted result. This can help you spot repeated items next to each other, but the tool does not remove them or decide which spelling is authoritative. Two entries that differ by a space or case may also need manual review rather than being treated as an obvious duplicate. Keep sorting, deduplication and value validation as separate tasks so you know what changed at each step.
For structured records, sorting entire lines uses the whole string as the comparison value. It does not sort by a second column, a surname field or the number embedded in a label. If those requirements matter, use a spreadsheet or a parser with an explicit key. A tidy-looking alphabetical list can still put the wrong field first for your purpose, so compare representative records with the actual rule you intended to apply.
The character statistic measures JavaScript string length, the word statistic splits at whitespace and the line statistic counts newline entries in the result. These are summaries of the generated string, not measurements of unique records or valid numeric values. Word-mode normalization can change character and line totals even when the same visible words remain. Check the output directly when whitespace or complete record boundaries matter to your task.
Sorting again after a source edit requires selecting Sort again; old output is not automatically refreshed. Changing an ordering radio button also does not by itself regenerate the result. Keep a source copy if you need to compare the original sequence with the sorted one. The available modes rearrange entries; they do not store an undo history or attach stable identifiers that would let you reconstruct arbitrary earlier orders after the source has been overwritten elsewhere.
Check the first and last entries, a pair with similar spelling, any blank records and a few numeric examples before using the output. Confirm that names stayed together and that no heading was unintentionally treated as an item. For numeric mode, verify the actual values rather than relying on their appearance. If the output contradicts a known example, return to the source and inspect both the item mode and the selected ordering before trying again.
Copy uses the generated output and may depend on browser clipboard permission. Select it manually if necessary, then inspect the result in the destination editor. Reset clears the input, output and statistics rather than restoring the original order. Save important source lists in your normal workspace. For exact or formal data tasks, retain the chosen comparison rule and source version with the result so the sequence can be explained and reproduced by another reviewer.
It can reorder newline-separated entries or whitespace-separated pieces, depending on the selected item mode. It does not infer structured records automatically.
No. It performs descending string comparison. Use line reversal when you want only the original sequence reversed.
Not reliably. It converts the whole entry with Number rather than extracting a leading numeric part.
No. Repeated entries remain in the output. Sorting can make them easier to inspect but is not deduplication.
No. They remain entries in line mode and can move during sorting.
The interface has no locale selector. Alphabetical comparison uses the browser environment’s localeCompare behavior.
No. Word mode splits at whitespace. Use one name per line and line mode to preserve a full name as an entry.
No. Select Sort again after changing the mode or the source text.
No. It counts newline entries in the output, including blanks. It is not a unique-value count.
No. It clears the text boxes and statistics. Keep an external copy of the original list.