int IComparable <LifeCardGameCardInformation> .CompareTo(LifeCardGameCardInformation other) { if (Category != other.Category) { return(Category.CompareTo(other.Category)); } if (SpecialCategory != other.SpecialCategory) { return(SpecialCategory.CompareTo(other.SpecialCategory)); } if (SwitchCategory != other.SwitchCategory) { return(SwitchCategory.CompareTo(other.SwitchCategory)); } if (Requirement != other.Requirement) { return(Requirement.CompareTo(other.Requirement)); } return(Points.CompareTo(other.Points)); }