Back to Artists

How Do Accents and Symbols Change Alphabetical Order

Lyrics Lookup Team 16 February 2025

Two names that look almost identical can end up in completely different parts of an index because one of them contains an accented character or a piece of punctuation. To a reader the difference is a small mark above a letter. To the system doing the sorting it can be a different character entirely, with a different position in the underlying order, and the result is an artist filed somewhere nobody would look.

Why does an accent change the position at all?

Because computers sort by character codes rather than by appearance. Every character has a number, the sort compares those numbers, and accented letters were added to the standard long after the plain alphabet was fixed. Their numbers therefore sit well above the ordinary letters, which means a naive sort pushes every accented name to the end of the list regardless of what letter it looks like it starts with. Nothing has gone wrong; the system is doing exactly what it was told.

How do properly built catalogues fix it?

By applying a collation, which is a set of rules describing how a particular language expects text to be ordered. A collation says that an accented letter sorts alongside its plain equivalent rather than after every other character, and it handles the cases where that is not true. This is why the same list can be ordered correctly on one site and strangely on another: one of them has set a collation and the other is relying on raw character order.

Do all languages sort accented letters the same way?

No, and this is the part that surprises people. In some languages an accented character is a variant of a plain letter and files with it. In others it is a distinct letter with its own position in the alphabet, sometimes at the very end. Certain letter pairs are treated as a single unit in some languages and as two letters in others. There is no universally correct order, only the order a particular language expects, which means a catalogue serving an international audience has to choose one and accept that it will look wrong to somebody.

What happens to punctuation inside a name?

  • Apostrophes. Usually ignored for sorting, so a name reads as though the mark were absent.
  • Hyphens. Sometimes ignored, sometimes treated as a space, and the two produce different orderings when the following word differs.
  • Full stops in initials. Generally ignored, though whether the initials are then treated as one unit or several varies.
  • Ampersands. Frequently expanded to the word they stand for, which moves the name substantially.
  • Decorative symbols. Usually stripped before sorting, since they carry no order information at all.
  • Spaces. Significant, and the most common cause of two spellings of one name sorting far apart.

Why can the same artist appear under two letters on one site?

Because the name has been entered twice, once with the accent and once without, and nothing has connected the two entries. This is extremely common with international acts, whose names are printed with full accents on releases in one territory and stripped down to plain letters in another. Each version accumulates its own credits, and the discography ends up divided between them. Checking both spellings is worth doing whenever an artist page looks unexpectedly short.

How should you search when you cannot type the character?

Type the plain letter and see what happens. Most modern search systems normalise accents, meaning they strip the marks from both the query and the stored names before comparing, so a plain search matches an accented name perfectly well. Where that fails, search a fragment of the name that contains no accented characters at all, which is usually enough to identify the act on its own. Copying and pasting the name from elsewhere is the last resort and always works.

Is there a right answer to any of this?

Only a practical one. Display the name exactly as the artist writes it, accents and punctuation included, because that is their name and stripping it is simply wrong. Sort by a separate normalised value that puts the act where an ordinary reader would look for them. And make the search tolerant enough that either spelling finds the entry. Doing all three means the name is respected, the index is usable, and nobody has to know any of the above to find a song.