GrammarCHECK
Polishing your words…
GrammarCHECK

text utility

Alphabetizer

FLAGSHIP WRITING STUDIOAlphabetizer

INPUT WORKSPACE — 0 words · 0 characters

Direction:

Import document · 0 min read · 0 min speech

RESULTS & INSIGHTS — Flagship Analysis Complete

Sort lines alphabetically (A to Z or Z to A) while preserving or removing duplicates. Paste a list and get it alphabetized in seconds.

What the list alphabetizer does

The List Alphabetizer is an alphabetical order creator: paste a list and it returns the lines sorted A to Z — or Z to A — with the option to remove duplicates. Use it to alphabetize a list of names, a bibliography, a set of tags, or a list of places. Sorting is case-insensitive, so "apple" and "Banana" sort by their letters, not by whether they are capitalised, and the original capitalisation is kept in the output.

The sort is by whole lines, not by words, which is the distinction that matters when alphabetizing a list. A list of full names sorts by first name unless you put the surname first; a bibliography sorted by line sorts by whatever word starts the line, which is why reference lists are usually written surname-first. If your list is not sorting the way you expect, check what each line starts with — that is what the tool is sorting on. As a citation alphabetizer it works the same way: write each entry surname-first ("Ahmed, Sara"), then sort ascending, and the references fall into citation order.

Removing duplicates is a separate choice, and it is off by default so that a deliberate repeat is not silently deleted. Turn it on when the list is meant to be unique — a tag list, a mailing list, a set of categories — and the tool keeps the first occurrence of each line and drops the rest. The comparison ignores surrounding spaces, so a line with a trailing space still counts as a duplicate of the same line without one. Numbers sort as characters, not values: "Item 10" sorts before "Item 2", because "1" comes before "2" — pad the numbers ("Item 02") if you need numeric order.

How to alphabetize a list

  1. Paste the lines to sort, one per line.
  2. Choose ascending (A–Z) or descending (Z–A) order.
  3. Turn on remove duplicates only when the list is meant to be unique.
  4. Copy the sorted list — the original capitalisation is kept.

Common uses for an alphabetized list

  • Sorting a bibliography or reference list into alphabetical order.
  • Alphabetizing a list of names, tags, places, or categories.
  • Cleaning a pasted list with mixed capitalisation and repeated lines.

What the alphabetizer checks in your list

  • alphabetical order, ascending or descending
  • duplicate removal
  • case-insensitive sorting by line

Sorting names, bibliographies and lists alphabetically

The Alphabetizer sorts lines of text into alphabetical order — a list of names, a bibliography, a set of tags, a list of places — with the option to remove duplicates. You paste the lines, choose ascending or descending order, and the tool returns the sorted list. Sorting is case-insensitive, so 'apple' and 'Banana' sort by their letters, not by whether they are capitalised.

The sort is by whole lines, not by words, which is the distinction that matters. A list of full names sorts by first name unless you put the surname first; a bibliography sorted by line sorts by whatever word starts the line, which is why reference lists are usually written surname-first. If your list is not sorting the way you expect, check what each line starts with — that is what the tool is sorting on.

Removing duplicates is a separate choice, and it is off by default so that a deliberate repeat is not silently deleted. Turn it on when the list is meant to be unique — a tag list, a mailing list, a set of categories — and the tool keeps the first occurrence of each line and drops the rest. The comparison ignores surrounding spaces, so a line with a trailing space still counts as a duplicate of the same line without one.

As a citation alphabetizer, the tool works the same way as for any list: write each entry surname-first, then sort ascending, and the references fall into citation order. A bibliography sorted by line sorts by whatever word starts the line, which is why reference lists are usually written surname-first. Turn on remove duplicates for a clean reference list, and use the Text Cleaner first if the pasted list has ragged spacing — the sort ignores surrounding spaces, but a tidy list is easier to check by eye.

Sorting a messy list of names and removing duplicates

A list pasted from three different places, with mixed capitalisation and a duplicate, sorted in two steps.

  1. Original list: 'banana', 'Apple', 'cherry', 'apple', 'Banana', 'date', 'cherry'. Seven lines, mixed case, 'cherry' twice, and two pairs that are the same fruit in different cases.
  2. Sort ascending, case-insensitive: 'Apple', 'apple', 'banana', 'Banana', 'cherry', 'cherry', 'date'. The sort ignores case, so 'Apple' and 'apple' sit together, as do the two bananas — and within each pair the order is the order they were pasted in, so 'banana' stays before 'Banana'.
  3. Now remove duplicates. The comparison is exact, so 'Apple' and 'apple' are different lines and both stay — only the second 'cherry', identical to the first, is dropped. The list becomes 'Apple', 'apple', 'banana', 'Banana', 'cherry', 'date'.
  4. Note what was kept: the first 'cherry' survived and the second was dropped. 'Apple' and 'apple' both survived because they differ in case — to merge those, make the capitalisation match first, then remove duplicates.
  5. Descending order would reverse the list — 'date', 'cherry', 'Banana', 'banana', 'apple', 'Apple' — which suits a list you want to read newest-first, though alphabetical lists are almost always read ascending.

Alphabetizer options and what each does

OptionWhat it doesUse it for
Ascending (A–Z)Sorts lines from A to Z, case-insensitiveBibliographies, name lists, indexes
Descending (Z–A)Reverses the sort orderNewest-first lists, reverse indexes
Remove duplicatesKeeps the first of each repeated lineTag lists, mailing lists, categories
Keep duplicatesSorts without deleting anythingLists where repeats are meaningful
Trim linesIgnores leading and trailing spacesPasted lists with ragged spacing
Diagram showing an unsorted list of lines on the left with arrows rearranging them into alphabetical order on the right.
Diagram showing an unsorted list of lines on the left with arrows rearranging them into alphabetical order on the right.

Why the alphabetizer sorts by first name

  • It sorts by the start of each line. A list of full names sorts by first name, not surname — put surnames first if that is the order you need.
  • It does not understand numbers the way a person does. 'Item 10' sorts before 'Item 2' in a plain alphabetical sort, because '1' comes before '2'.
  • It cannot sort by a second key. A bibliography sorted by author cannot also be sorted by year within the same author without a manual pass.
  • Accented characters sort by their base letter in most cases, but the exact order depends on the browser's locale — 'é' may sort with 'e' or after 'z' depending on settings.
  • Removing duplicates compares whole lines. Two lines that differ by one word are not duplicates, even if they mean the same thing.

List alphabetizer questions, answered

Does the alphabetizer sort by first name or last name?

By whatever each line starts with. A list of 'Sara Ahmed' and 'Tom Baker' sorts by Sara and Tom. If you need surname order, write the list surname-first — 'Ahmed, Sara' — before sorting.

Is the sort case-sensitive?

No. Sorting ignores case, so 'apple' and 'Banana' sort by their letters. The original capitalisation is kept in the output; only the order is case-insensitive.

Why does Item 10 sort before Item 2?

Because a plain alphabetical sort compares characters, and '1' comes before '2'. To get numeric order, pad the numbers — Item 02, Item 10 — or sort the numbers separately.

How do I alphabetize a list for a bibliography or citation?

Write each entry surname-first — "Ahmed, Sara" — then sort ascending. The tool sorts by whatever each line starts with, so surname-first entries fall into citation order. Turn on remove duplicates for a clean reference list.

Alphabetizing style guides behind the sorter

  • Chicago Manual of Style, 17th edition, alphabetizing, 2017
  • Modern Language Association, MLA Handbook, 9th edition, works-cited ordering, 2021

Sorting is one of several text clean-ups that work together. Text Cleaner neatens the spacing before you sort, Case Converter evens out capitalisation across the list, and Find & Replace changes a word in every line at once. Text Compare sets out what changed between two versions of the list, Duplicate Phrase Finder highlights repeated phrases in it, and Text Randomizer stirs the lines when the order needs breaking. A sorted list is easier to scan.

What to do after alphabetizing your list

Shuffle the sorted list with the Text Randomizer next if you need a random order instead, since an alphabetical list is only one way to arrange it.