Paste a list with one item per line and it's sorted as you type. A to Z uses natural order, so Item 2 comes before Item 10, and accented letters sort where you'd expect. You can also sort Z to A, by length, or just reverse the list. To remove duplicates as well, use the duplicate line remover.
paste here
result
On a Mac? Skip this tab next time. Pastely does it in any app: copy, press ⌘⇧V, and it pastes in the format that app needs.
Free to embed. Put this sort alphabetically on your blog, docs or class page.
How each sort works
Option
banana, Apple, item 10, item 2
A → Z (ignore case)
Apple, banana, item 2, item 10
Z → A
item 10, item 2, banana, Apple
By length
Apple, banana, item 2, item 10
Reverse
item 2, item 10, Apple, banana
Sort in a terminal
sort list.txt sorts alphabetically, sort -f ignores case, sort -V sorts numbers naturally and sort -r reverses. To sort by line length: awk '{ print length, $0 }' list.txt | sort -n | cut -d' ' -f2-.
Sort Alphabetically: questions
How do I sort alphabetically in Google Sheets or Excel?+
In Google Sheets, select the column and choose Data › Sort range › A to Z, or use =SORT(A2:A). In Excel, select the column and choose Data › Sort A to Z.
How do I alphabetize a list in Word or Google Docs?+
In Word, select the list and press the Sort button on the Home tab. Google Docs has no built-in sort, so paste the list here, sort it, and paste it back.
What is natural sort order?+
Sorting numbers inside text by their value instead of digit by digit. Plain alphabetical order puts file10 before file2, because 1 comes before 2. Natural order puts file2 first.