docgen: Include static methods and sort them first