The Dutch Alphabetical Sort orders a list of Dutch words the way a traditional Dutch dictionary does, where the digraph ij counts as a single letter equal to y. Standard computer sorting puts ijs near other words starting with i, but Dutch convention places it next to y. This tool reproduces that collation so indexes, glossaries, and name lists read correctly to Dutch eyes.
How it works
- Normalise. Each word is lower-cased and accents are stripped (NFD plus combining-mark removal) so that
caféandcafesort together and capitalisation does not affect order. - Map ij to y. When the traditional rule is on, every occurrence of the digraph
ijin a word is replaced withyto build a sort key. Becauseysorts afterxand beforez, words beginning withijland in the y-region just as a Dutch dictionary expects. - Compare. The sort keys are compared character by character using their natural letter order. The original line text (with its real spelling and capitalisation) is what gets displayed, only the hidden key drives the order.
Tips and example
- With the traditional rule on, a list of
ijs,inkt,wijn,zee,xenonsorts toinkt, xenon, ijs, wijn, zee— note howijsandwijncluster with the y-sounds rather than under i. - Turn the rule off to get plain Unicode order, where
ijswould sit right after otheriwords. Phone books and many software systems use this simpler scheme. - The tool only treats
ijas one letter when it is genuinely the digraph in your spelling; it cannot guess intent, so spell true ij-words as the digraph and unrelatedi+jsequences will sort normally.