Include document type name in repository metadata and sort by name