generate-api-doc.py sort documentation first too