// of the #compareTo(Object) in the ResultsElement hierarchy
public int compare(Viewer view, Object e1, Object e2) {
// Config and Build results are sorted in reverse order
if (e1 instanceof BuildResultsElement) {
ResultsElement element = (ResultsElement) e2;
return element.compareTo(e1);
}
if (e1 instanceof ResultsElement) {
ResultsElement element = (ResultsElement) e1;
return element.compareTo(e2);
}