@Override
	public int compareTo(Object card2) throws ClassCastException{
		if (!(card2 instanceof Card))
		      throw new ClassCastException("A Card object expected.");
		
		if(this.cmc == ((Card) card2).getCmc())
			return this.cardName.compareTo(((Card) card2).getCardName());
		
		return ((Card) card2).getCmc() - this.cmc;
	}