return annotationList.size() - other.annotationList.size();
int diff = annotationList.size() - other.annotationList.size(); if (diff != 0) return diff; diff = (int)(this.firstVersion - other.firstVersion); if (diff != 0) return diff; diff = (int)(this.lastVersion - other.lastVersion); return diff;
	public int compareTo(BugInstance other) {		int cmp;		cmp = type.compareTo(other.type);		if (cmp != 0)			return cmp;		cmp = priority - other.priority;		if (cmp != 0)			return cmp;		// Compare BugAnnotations lexicographically		int pfxLen = Math.min(annotationList.size(), other.annotationList.size());		for (int i = 0; i < pfxLen; ++i) {			BugAnnotation lhs = annotationList.get(i);			BugAnnotation rhs = other.annotationList.get(i);			cmp = lhs.compareTo(rhs);			if (cmp != 0)				return cmp;		}		// All elements in prefix were the same,		// so use number of elements to decide		return annotationList.size() - other.annotationList.size();	}