class AnnotationList {

    List<AnnotationTriplet> getByAnnotation_OrderBy_OrderAscending(String annotation){
        List<AnnotationTriplet> result = new ArrayList<>();
        for (AnnotationTriplet a : list){
            if (a.getAnnotation().equals(annotation)){
                result.add(a);
            }
        }
        Collections.sort(result);
        return result;
    }

      AnnotationList(List<AnnotationTriplet> list);

}