import jalview.analysis.AAFrequency;
import jalview.analysis.AlignmentAnnotationUtils;
import jalview.analysis.AnnotationSorter;
+import jalview.analysis.AnnotationSorter.SortOrder;
import jalview.analysis.Conservation;
import jalview.commands.ChangeCaseCommand;
import jalview.commands.EditCommand;
}
// TODO: save annotation sort order on AlignViewport
// do sorting from AlignmentPanel.updateAnnotation()
- new AnnotationSorter(this.ap.getAlignment())
- .sortBySequenceAndType(this.ap.getAlignment()
- .getAlignmentAnnotation());
+ new AnnotationSorter(this.ap.getAlignment()).sort(this.ap
+ .getAlignment().getAlignmentAnnotation(),
+ SortOrder.SEQUENCE_AND_TYPE);
refresh();
}