public int CompareTo(Name other) { if (!Last.Equals(other.Last)) { return(Last.CompareTo(other.Last)); } return(Rest.CompareTo(other.Rest)); }