glossaries-extra package FAQ
Open the .glstex file in a text editor and check the value of the
sort field. This is the value used for the sort comparisons. (Special characters are marked up using commands like
\glspercentchar. These were the actual character when bib2gls sorted the entries, but were replaced in order to write the sort value to the .glstex file without causing a syntax error when LaTeX parses it.)
- Has content been stripped? If the missing content is non-alphabetic, you may need to change the
break-atsetting. If the missing content consisted of LaTeX code, run bib2gls in verbose mode (
bib2gls --verbose) and check the transcript file (.glg) for messages from the interpreter.
- Has the sort value been obtained from the wrong field? Check the
sort-fieldand the various fallback settings, such as
abbreviation-sort-fallback. See also Why doesn’t
symbol-sort-fallbackwork? and Gallery: sorting.
- Have the sort values been replaced with 0? Then you’ve most likely used a numeric sort method on non-numeric values or the numeric pattern used by the parser is incorrect. Run bib2gls with the verbose mode on and check the transcript file (.glg) for messages.
- If the sort values are correct then check the sort method and, if
sort=custom, the sort rule.
If you have multiple .glstex files, these will form sorted sub-blocks.
Alternative link: https://www.dickimaw-books.com/faq.php?itemlabel=bib2glswrongorder