This function will sort the Annotations contained in the provided
Annotation set, according to their Span sets.
Return Value:
This function will create and return a new AnnotationSet object,
that will contain all the Annotations contained in the provided by the
"Set" parameter set, sorted by their span ranges. For more information
about the sorting order, please refer to the CDM_CompareAnnotations
function.