code: func sortByKind(manifests []Manifest, ordering SortOrder) []Manifest {
  	ks := newKindSorter(manifests, ordering)
  	sort.Sort(ks)
  	return ks.manifests
  }
docs: // sortByKind does an in-place sort of manifests by Kind.
  //
  // Results are sorted by 'ordering'