Danish Alphabetical Sort

Sort Danish with æ, ø, å at end (same order as Norwegian)

Sorts a list of Danish words or names using correct Danish collation, placing æ, ø and å after z in that order — the same as Norwegian and different from Swedish. Uses the da locale, with ascending or descending output, in your browser.

Where do æ, ø and å sort in Danish?

After z, in the order æ (27th), ø (28th), å (29th). So a name beginning with Æ sorts after every z-name, and Å sorts last of all. This is the same order Norwegian uses.

The Danish Alphabetical Sort orders a list of Danish words, names, or places using the correct Danish collation — most importantly, placing the three extra letters æ, ø, and å at the very end of the alphabet, after z.

How it works

The tool splits your input into lines, removes blank lines, and sorts them with the browser’s Intl.Collator set to the da (Danish) locale. That collator knows the official Danish ordering, including the end-of-alphabet position of æ, ø, and å. If Intl is somehow unavailable, the tool falls back to a built-in weight table that assigns those three letters positions 27, 28, and 29 so they still sort after z.

Sorting uses base sensitivity, so case and minor accent differences are ignored for ordering — Århus and ÅRHUS land in the same place.

Danish versus Swedish order

It is easy to confuse the Nordic collations, but they differ:

  • Danish and Norwegian: end the alphabet with æ, ø, å.
  • Swedish: ends with å, ä, ö.

So Ærøskøbing and Ølstykke sort to the very end in Danish, and a tool configured for Swedish would order these letters incorrectly. Always sort Danish text with Danish rules.

Example

Sorting Århus, Ølstykke, København, Ærøskøbing, Zealand, Odense produces København, Odense, Zealand, Ærøskøbing, Ølstykke, Århus — the three special-letter names appear last, after the z-name, in the order æ, ø, å.