code: func LessEndpointAddress(a, b *v1.EndpointAddress) bool {
  	ipComparison := bytes.Compare([]byte(a.IP), []byte(b.IP))
  	if ipComparison != 0 {
  		return ipComparison < 0
  	}
  	if b.TargetRef == nil {
  		return false
  	}
  	if a.TargetRef == nil {
  		return true
  	}
  	return a.TargetRef.UID < b.TargetRef.UID
  }
docs: // LessEndpointAddress compares IP addresses lexicographically and returns true if first argument is lesser than second