Order should be consistent: TYPES > FUNCTIONS > MACROS > CALLBACKS

Order should be consistent: **TYPES > FUNCTIONS > MACROS > CALLBACKS**

This commit fixes the order in the function/macros under each the module on the directory on the left,
and links in the heading in the module page.