SequenceAnnotationOrder sortBy = av.getSortAnnotationsBy();
if (sortBy != SequenceAnnotationOrder.CUSTOM)
{
- final AnnotationSorter sorter = new AnnotationSorter(getAlignment(),
- av.isShowAutocalculatedAbove(), autoCalcOnly);
- sorter.sort(getAlignment().getAlignmentAnnotation(), sortBy);
+ final AnnotationSorter sorter = new AnnotationSorter(av);
+ sorter.sort(sortBy, autoCalcOnly);
}
}