public int CompareTo(Track other) { if (Path == other.Path) { if (Bonus == other.Bonus) { return(Name.CompareTo(other.Name)); } else { return(Bonus.CompareTo(other.Bonus)); } } else { return(Path.CompareTo(other.Path)); } }
public int CompareTo(Track other) { if (Path == other.Path) { if (Bonus == other.Bonus) { return(Name.CompareTo(other.Name)); } else { return(Bonus.CompareTo(other.Bonus)); } } else { return(Path.CompareTo(other.Path)); } }