Productivity and Utilities

Reference List Alphabetizer

Paste one reference per line to sort the list the way a style guide orders it.

Your numbers

One reference per line, up to 2000 lines. Nothing is uploaded.

Order

Letter by letter ignores spaces and punctuation, so Mac Donald and MacDonald sit together. Word by word lets a space come first.

Result

References sorted

7

Letter by letter

Lines
7
Repeats removed
0
First in order
Álvarez, M. (2016). Accents sort like their letters. Press.
Last in order
Zhao, L. (2022). Last in the list. Press.

Sorted list

OrderReferenceSorted by
1Álvarez, M. (2016). Accents sort like their letters. Press.alvarezm2016accentssortliketheirletterspress
2Brown, A. (2019). Mac Donald and friends. Press.browna2019macdonaldandfriendspress
3Brown, Alan (2017). Another Brown. Press.brownalan2017anotherbrownpress
4MacDonald, K. (2018). Names in order. Press.macdonaldk2018namesinorderpress
53. Smith, J. (2020). The Art of Listing. Press.smithj2020theartoflistingpress
6Smith, J., & Lee, P. (2021). Two authors. Press.smithjleep2021twoauthorspress
7Zhao, L. (2022). Last in the list. Press.zhaol2022lastinthelistpress
How this was calculated
  1. Each line gets a sort key: a leading list number and a leading A, An or The are removed if you chose that, letters lose their accents and everything is lower case.
  2. Letter by letter removes spaces and punctuation from the key, so the whole line reads as one string of letters and digits.
  3. Keys are compared character by character with digits before letters. Lines with the same key stay in the order you pasted them.
  • Style guides differ on details such as names with prefixes, the same author with several works and non-Latin scripts. Check the result against the guide you follow before you submit it.

Calculated using SumPanda.com · https://sumpanda.com/reference-list-alphabetizer/

Results are estimates for general information. Verify important figures before relying on them.

Next step

How to use the reference list alphabetizer

  1. Paste your references, one per line.
  2. Choose letter by letter or word by word ordering.
  3. Tick the options to ignore a list number at the start, to ignore A, An and The, and to remove lines that are exactly the same.
  4. Copy the sorted list. The table beside it shows the sort key each line was given.

Formula

key = line without a leading list number and article, with accents and case removed

letter by letter: delete every character that is not a letter or digit

word by word: turn runs of other characters into one space

sort by key; equal keys keep the order you pasted them in

In letter by letter order a space does not count, so Mac Donald and MacDonald sort together. In word by word order a space comes before every digit and letter.

Four names that differ in one space

The lines MacDonald, K.; Mac Donald, B.; MacDonald, A.; and Mac, Z. sort letter by letter by the keys macdonaldk, macdonaldb, macdonalda and macz. The result is MacDonald, A.; Mac Donald, B.; MacDonald, K.; then Mac, Z.

Sorted word by word, the keys are macdonald k, mac donald b, macdonald a and mac z. A space comes first, so the order becomes Mac Donald, B.; Mac, Z.; MacDonald, A.; MacDonald, K. With the article option on, The Apple sorts under A, and with it off it sorts under T.

Which order to choose

Style guides differ. Many reference lists in the sciences use letter by letter order, which ignores spaces, hyphens and punctuation. Some indexes and library lists use word by word order, in which a shorter word comes first. Use the order your guide names, and read its notes on names with prefixes such as van, de or Mc, which the guides handle in different ways.

For writing tasks, count words with the Word Counter, look at the common words in a text with the Word Frequency Counter, or check sentence length with the Sentence Length Analyzer. Spreadsheet data can be ordered with Sort CSV by Column.

Accents, numbers and other scripts

Letters with accents sort as the plain letter, so Alvarez and Álvarez share a key. Digits come before letters, so a title starting with 1984 sorts before one starting with A. Characters outside the Latin script are compared by their code order, which is not the order a dictionary of that language uses, so check lists in other scripts by hand.

Assumptions and limits

  • Each reference is on one line, and the whole line is used for sorting.
  • Only a leading list number and a leading article are removed from the key. The line itself is not changed.
  • Lines with the same key stay in the order you pasted them.
  • Up to 2,000 lines of 2,000 characters are read, and nothing is uploaded.

Formulas reviewed October 10, 2026. See the calculation methodology for how SumPanda rounds, tests and sources its formulas.

Frequently asked questions

Does the tool change my references?

No. It only reorders the lines. The sort key is shown in the table beside the list but is not added to the copied text.

How are two references by the same author ordered?

By the rest of the line, since the whole line forms the key. If the lines start the same, the year or title decides, which is usually what a style guide asks for.

What does ignoring a list number do?

It removes starts such as 3., [3] or (3) when making the key, so a numbered list sorts by its text and not by its numbers.

Can I remove duplicates?

Yes, tick the box to drop lines that are exactly the same as an earlier one. Lines that differ by even one character are kept, and the number removed is shown.