class AnnotationTriplet implements Comparable<AnnotationTriplet> {

    @Override public int compareTo(final AnnotationTriplet o) {

        if (this.annotation.equals(o.annotation)){
            return this.order.compareTo(o.order);
        } else {
            return this.annotation.compareTo(o.annotation);
        }

    }

      AnnotationTriplet(final String annotation, final Integer colNumber, final Integer order);

}