Sort annotations