Sort annotations by their appeareance in the text.