code: @Override
  	public int compareTo(Tuple other) {
  		int temp = compareItems(other);
  		if (temp != 0) return temp;
  		// All compared elements were equal.
  		// If 'other' is of another class than 'this', it must have
  		// more elements, and therefore it is considered greatest;
  		// otherwise the tuples are equal.
  		return getClass() == other.getClass() ? 0 : -1;
  	}
docs: Compares this Tuple with another Tuple for order.
  
  Tuples are compared by comparing each of their elements.
  
  Tuples with more elements are considered greater than Tuples with
  fewer, but otherwise equal, elements.
  
  @see java.lang.Comparable#compareTo(java.lang.Object)
  
  @return A negative integer, zero or a positive integer as this Tuple is
  less than, equal to or greater than the specified Tuple.
  
  @throws ClassCastException
  if the items in this and the other Tuple aren't compatible,
  if they don't implement {@link Comparable}.