// Swaps two indices in the slice being sorted.
550618
func (s *Sorter) Swap(i, j int) {
	x := s.Slice.Index(i)
	y := s.Slice.Index(j)
	tmp := reflect.New(s.itemType).Elem()
	tmp.Set(x)
	x.Set(y)
	y.Set(tmp)
}
83819
func (ps Points) Swap(i, j int) {
	ps[i], ps[j] = ps[j], ps[i]
}
617712
func (m resourceList) Swap(i, j int) {
	m[i], m[j] = m[j], m[i]
}
166259
func (c cols2HandleSlice) Swap(i, j int) {
	c[i], c[j] = c[j], c[i]
}
542957
func (ms *multiSorter) Swap(i, j int) {
	ms.pods[i], ms.pods[j] = ms.pods[j], ms.pods[i]
}
495042
func (s TimeSlice) Swap(i, j int) {
	s[i], s[j] = s[j], s[i]
}
910114
func (ms *multiIfAddrSorter) Swap(i, j int) {
	ms.ifAddrs[i], ms.ifAddrs[j] = ms.ifAddrs[j], ms.ifAddrs[i]
}
1363543
func (p *pathHeap) Swap(i, j int) {
	p.paths[i], p.paths[j] = p.paths[j], p.paths[i]
}
1351469
func (s *containerSorter) Swap(i, j int) {
	s.containers[i], s.containers[j] = s.containers[j], s.containers[i]
}
104734
func (pt PrimitiveTypes) Swap(i, j int) {
	pt[i], pt[j] = pt[j], pt[i]
}
1144445
func (s Int16Slice) Swap(i, j int) {
	s[i], s[j] = s[j], s[i]
}
598989
func (cs ChunkSorter) Swap(i, j int) {
	cs[i], cs[j] = cs[j], cs[i]
}
825825
func (ph *peerHeap) Swap(i, j int) {
	p1 := ph.peers[i]
	p2 := ph.peers[j]

	ph.peers[i], ph.peers[j] = ph.peers[j], ph.peers[i]
	p1.idx = j
	p2.idx = i
}
678742
func (n *nodeSorter) Swap(i, j int) {
	n.Nodes[i], n.Nodes[j] = n.Nodes[j], n.Nodes[i]
	n.Vec[i], n.Vec[j] = n.Vec[j], n.Vec[i]
}
1221534
func (a WorkItemPtrSlice) Swap(i, j int) {
	a[i], a[j] = a[j], a[i]
}
808741
func (b byString) Swap(i, j int) {
	t := reflect.ValueOf(b.Data.Index(i).Interface())
	b.Data.Index(i).Set(b.Data.Index(j))
	b.Data.Index(j).Set(t)
	b.Indices[i], b.Indices[j] = b.Indices[j], b.Indices[i]
}
433590
func (r *TranscribedRecipe) Swap(i, j int) {
	(*r)[i], (*r)[j] = (*r)[j], (*r)[i]
}