code: func SortSubsets(subsets []v1.EndpointSubset) []v1.EndpointSubset {
  	for i := range subsets {
  		ss := &subsets[i]
  		sort.Sort(addrsByIPAndUID(ss.Addresses))
  		sort.Sort(addrsByIPAndUID(ss.NotReadyAddresses))
  		sort.Sort(portsByHash(ss.Ports))
  	}
  	sort.Sort(subsetsByHash(subsets))
  	return subsets
  }
docs: // SortSubsets sorts an array of EndpointSubset objects in place.  For ease of
  // use it returns the input slice.