code: public int compare(CaptureSearchResult o1, CaptureSearchResult o2) {
  		String k1 = objectToKey(o1);
  		String k2 = objectToKey(o2);
  		if(backwards) {
  			return k2.compareTo(k1);
  		}
  		return k1.compareTo(k2);
  	}
docs: /* (non-Javadoc)
  @see java.util.Comparator#compare(java.lang.Object, java.lang.Object)