Ordered all functions and macros alphabetically inside their correct sections.