mkdb: add missing instospection annotations
gtkdoc-mkdb: sort entries in the glossary

The entries in the glossary were in pseudo-random order, varying
even between gtk-doc runs.

https://bugzilla.gnome.org/show_bug.cgi?id=711111

https://bugzilla.gnome.org/show_bug.cgi?id=711112