Fetches the document versions for a given document and sorts them by release type
document id related to the document version list
object with sortedDocumentList
Beta
Fetches the document versions for a given document and sorts them by release type
Param: documentId
document id related to the document version list
Returns
object with sortedDocumentList