JAL-3081 promote setSortAnnotationsBy() to api method