String lhsString = lhs.getBugPattern().getCategory(); String rhsString = rhs.getBugPattern().getCategory(); return lhsString.compareTo(rhsString);
return getCategory(lhs).compareTo(getCategory(rhs));
		public int compare(BugInstance lhs, BugInstance rhs) {			String lhsString = lhs.getBugPattern().getCategory();			String rhsString = rhs.getBugPattern().getCategory();			return lhsString.compareTo(rhsString);		}