rdf: sort the namespaces and group them in the docs