docs: function(a, b) {
  		var aClauseProps = this.getClauseProperties(a);
  		var bClauseProps = this.getClauseProperties(b);
  		var compatibleSort = true;
  		var result;
  
  		// if both have a paginate, make sure order is the same.
  		if( bClauseProps.enabled.paginate &&
  			(aClauseProps.enabled.order || bClauseProps.enabled.order)) {
  			// compare order clauses without any special props
  			compatibleSort = compare.equal(aClauseProps.order, bClauseProps.order,
  				undefined, undefined, undefined, {}, {});
  		}
  
  		if(!compatibleSort) {
  			result = false;
  		}
  		else {
  			result = this.evaluateOperator(compare.subset, a, b);
  		}
  
  		return result;
  	}