Join Text
Join a list of lines into one line with any separator.
Put any list into alphabetical order, numbers handled properly.
Sort Lines A–Z puts a list into alphabetical order using natural number handling, so "item 2" comes before "item 10" rather than after it, and locale-aware comparison, so accented letters sort where a reader expects. Duplicates can be removed in the same pass.
Alphabetical sorting sounds simple until a list contains numbers. A plain sort puts "item 10" before "item 2", because it compares character by character and 1 comes before 2. Natural sorting — the kind file managers use — reads the digits as a number and gets it right.
This sorter uses natural ordering by default and handles accented letters correctly, so "Ångström" sorts where a reader expects rather than at the end. Case can be ignored or respected, leading whitespace can be ignored so indented lists sort by content, and duplicates can be removed in the same pass. Blank lines are dropped rather than being sorted to the top, which is what nearly everyone wants.
Item 2 sorts before item 10, because consecutive digits are read as a number rather than compared character by character.
Locale-aware comparison puts "Ångström" near A instead of after Z, which a code-point sort never does.
Ignore case so "Zebra" does not sort before "apple", which is what a raw sort produces.
Sort and de-duplicate together, with a count of what was removed.
Empty lines are removed rather than gathered at the top, which is what a sorted list should look like.
One item per line — names, tasks, keywords, filenames or anything else.
Natural ordering for lists containing numbers, or strict character ordering when you need it.
Ignore case, ignore leading spaces and remove duplicates as part of the same sort.
Copy the result or download it, with a count of duplicates removed.
Because a plain sort compares character by character, and the character "1" comes before "2". Natural ordering reads consecutive digits as a single number, which puts item 2 first. This tool uses natural ordering by default.
Using locale-aware comparison, so "Ångström" sorts near A rather than after Z. A plain code-point sort would put every accented word at the end of the list, which is rarely what anyone wants.
Usually yes. With case respected, every capitalised word sorts before every lowercase one, so "Zebra" comes before "apple". Ignoring case gives the ordering a person expects.
Yes, in the same pass. The count of removed duplicates is reported, so you can tell whether the list had repeats before you rely on the result.
What people who use the Sort Lines A–Z think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the Sort Lines A–Z. It takes half a minute and no account.
Write the first reviewJoin a list of lines into one line with any separator.
See how often each letter appears, ranked and charted.
Generate random strings from any character set you choose.
Decode percent-encoded URLs back into readable text.
Insert text at a position, every N characters, or around a match.
Wrap every line with text before and after, in one pass.
Convert text into Morse code, with audio playback.
Count the distinct characters a text uses, listed with frequencies.