docs(dependency-sort): add documentation
docs(doc-processor): remove old incorrect comment
test(*): fix async testing
refact(doc-generator): move processor sorting from doc-processor
refact(doc-processor): general tidy up