Sort members in api docs

This change makes doxygen sort the api members in the generated docs. Rationale is:
- it looks better/more professional. currently the order is mostly random, which looks messy.
- it's easier to find specific members, as the order is logical