public int CompareTo(Card other) { //Sort by card value first if (Order != other.Order) { return(Order.CompareTo(other.Order)); } // compare suits when order value is the same return(Suit.CompareTo(other.Suit)); }