code: public int compareTo(E o) {
  		if (o.getClass() != getClass()) {
  			throw new ClassCastException();
  		}
  		
  		return ordinal - TypesafeEnum.class.cast(o).ordinal;
  	}
docs: Compares with the specified object by ordinal.
  
  @param o The object to be compared.
  @return <code>0</code> If this object is the same ordinal to the
  specified object.