enter image description here Currently I'm writing a project in Danish. Almost everything in LaTeX works as intended so far.

However, in the Danish language "aa" is alphabetically the same as an "å", and should therefore be sorted last in the bibliography, instead of first as an "a".

Hope some smart mind knows how to force LaTeX to sort "aa" as an "å".

Updated info: OS: Windows 10, client: ShareLaTeX, biber version is unknown.

Is there any reason why a "G", "K" and "S" is sorted before both "Aa" and "Å"?

MWE from the project:

backend = biber,
style = authoryear,
natbib = true,

author = {{Aalborg Kommune}},
title = {Team Vandkunstens forslag til udviklingsplan valgt som det bedste},
year = {2016},
url = {https://stigsborghavnefront.dk/nyheder?id=28},
urldate = {2017-10-11}
  • 4
    Your MWE will be always sorted... and this means it is more minimal than have to be... Also it is not a working example. Please use filecontents etc to create a real MWE – koleygr Oct 14 '17 at 7:51
  • 3
    Maybe this question and its answers help: tex.stackexchange.com/q/164758/134144 – leandriis Oct 14 '17 at 7:53
  • 1
    I just did a short test. On my system (Biber 2.7 on MikTeX, Win 10) a document with \usepackage[danish]{babel} sorts "aa" as "å". Please compile gist.github.com/moewew/50d462052893cb7037f0c280788cad6a and report the output along with the answer to the questions in my comment above. Could be related: github.com/plk/biber/issues/164 – moewe Oct 14 '17 at 9:00
  • 1
    Sharelatex are using an outdated version of Biber, but even with the current version of Biber there were problems in Linux and Mac OS X. The developer has addressed some of them, but a new version has not been released yet. – moewe Oct 16 '17 at 19:25
  • 1
    You will have to use a workaround such as sortname = {{zzzAalborg Kommune}} in the meantime. – moewe Oct 16 '17 at 19:26

There was a problem with sorting locales in Biber <= 2.7 in TeX live. This was resolved with Biber 2.8 (https://github.com/plk/biber/issues/164), the current release version is 2.10. It should be enough to update your TeX system.

In the comments it emerged that you use ShareLaTeX. Online LaTeX editors can in general not be expected to be on the bleeding edge of CTAN package development. At the moment ShareLaTeX are running Biber 2.7, Overleaf has version 2.5.

If you are stuck with the online editors you will need a work-around. Since the problem is quite deep in Biber's internals we'll have to resort to ad hoc trickery.

sortname = {{zzzAalborg Kommune}}

Will make sure that Aalborg sorts after z.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.