按字母顺序对 \begin{abbreviations} 进行排序?

按字母顺序对 \begin{abbreviations} 进行排序?

我正在为我的论文使用该\begin{abbreviations}功能。有没有办法自动按字母顺序对它们进行排序?

提前致谢 :)

\newcommand{\abbrevname}{List of Abbreviations}
\providecaptionname{english,british,american}{\abbrevname}{List of Abbreviations}
\providecaptionname{ngerman,german,austrian,naustrian}{\abbrevname}{Abk\"urzungsverzeichnis}
\NewDocumentEnvironment{abbreviations}{ m }{%
    \ifbool{nolistspace}{\begingroup\singlespacing}{}
    \ifbool{listtoc}{\addchap{\abbrevname}}{\addchap*{\abbrevname}}
    \begin{longtable}{#1}
    }{%
    \end{longtable}
    \addtocounter{table}{-1}% Don't count this table as one of the document tables
    \ifbool{nolistspace}{\endgroup}{}
}

相关内容