[Tex/LaTex] Problem with sorting of umlaute in a glossary (pkg glossaries)

acronymsglossariessorting

I'm currently facing a problem concerning sorting of glossaries.
I'm writing my thesis in german, so I also have some umlaute like "ä","ö" and "ü" in my acronyms. For example there is an acronym "ÖGD".
Now the problem is that the sorting of acronyms doesn't work as expected. The acronyms with the umlaute are at the top of the list. Normally the "Ö" for example should be after the "O".
The following MWE illustrates the problem.

I know that there is a parameter -g or -s when using makeindex. The problem is that the glossaries package comes with a makeglossaries-perl script. I don't want to touch the perl-script. So, is there another possibility to get my glossary and acronyms-list sorted right?

\documentclass[a4paper,12pt,ngerman]{scrreprt}

\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage{caption}
\usepackage{bibgerm}
\usepackage[ngerman=ngerman-x-latest]{hyphsubst}

\usepackage[style=longheader,toc,acronym,nonumberlist]{glossaries}

\makeglossaries         

\begin{document}    

 \newacronym{B2B}{B2B}{Business to Business}
 \newacronym{oegd}{\"OGD}{\"offentlicher Gesundheitsdienst}
 \newacronym{HL7}{HL7}{Health Level Seven}

\glsaddall

\printglossary[type=\acronymtype]

\end{document}

Currently the acronyms-list is sorted like this:

  • ÖGD
  • B2B
  • HL7

Best Answer

You can use the sort key to change the sort order. Also you should better put groups around the accents (see the paragraph before section 4.1. in the docu):

\newacronym[sort=OEFFE]{oegd}{{\"O}GD}{{\"o}ffentlicher Gesundheitsdienst}

You can also try to use xindy instead of makeindex.