// Less is part of sort.Interface.
510313
func (gtcsl TabletCacheStatusList) Less(i, j int) bool {
	iKey := strings.Join([]string{gtcsl[i].Keyspace, gtcsl[i].Shard, string(gtcsl[i].TabletType), gtcsl[i].Name}, ".")
	jKey := strings.Join([]string{gtcsl[j].Keyspace, gtcsl[j].Shard, string(gtcsl[j].TabletType), gtcsl[j].Name}, ".")
	return iKey < jKey
}
364583
func (routes RoutesByDistance) Less(i, j int) bool {
	return routes[i].distance < routes[j].distance
}
1043000
func (l chunkByIndex) Less(i, j int) bool {
	ii := l[i].Index()
	ij := l[j].Index()
	return ii < ij
}
837119
func (rl *Raw) Less(b btree.Item) bool {
	return rl.id < b.(Line).ID()
}
1108353
func (durs ByFirstEntered) Less(i, j int) bool {
	return durs[i].FirstEntered.Before(durs[j].FirstEntered)
}
73607
func (s UintSlice) Less(i, j int) bool {
	return s[i] < s[j]
}
1231184
func (p *pathHeap) Less(i, j int) bool {
	return p.paths[i].dist < p.paths[j].dist
}
1043525
func (ms *multiAddrSorter) Less(i, j int) bool {
	p, q := &ms.addrs[i], &ms.addrs[j]
	// Try all but the last comparison.
	var k int
	for k = 0; k < len(ms.cmp)-1; k++ {
		cmp := ms.cmp[k]
		x := cmp(p, q)
		switch x {
		case -1:
			// p < q, so we have a decision.
			return true
		case 1:
			// p > q, so we have a decision.
			return false
		}
		// p == q; try the next comparison.
	}
	// All comparisons to here said "equal", so just return whatever the
	// final comparison reports.
	switch ms.cmp[k](p, q) {
	case -1:
		return true
	case 1:
		return false
	default:
		// Still a tie! Now what?
		return false
	}
}
365891
func (s Seq) Less(q uint32) bool {
	return (s.Stop < q || q == 0) && s.Stop != 0
}
111109
func (v ValidatorUpdates) Less(i, j int) bool {
	return bytes.Compare(v[i].PubKey.Data, v[j].PubKey.Data) <= 0
}
871956
func (u uintSlice) Less(i, j int64) bool {
	return u[i] < u[j]
}
221624
func (s *sorter) Less(i, j int) bool {
	return s.coordinates[i].Node < s.coordinates[j].Node
}
1087304
func (s Uint8Slice) Less(i, j int) bool {
	return s[i] < s[j]
}
527844
func (s *sstack) Less(i, j int) bool {
	return (s.blocks[i/blockSize][i%blockSize].priority - s.blocks[j/blockSize][j%blockSize].priority) > 0
}
259833
func (sp crSortedPaths) Less(i, j int) bool {
	return len(sp[i].Path) > len(sp[j].Path)
}
1370365
func (c Collection) Less(i, j int) bool {
	return c[i].LessThan(c[j])
}
459850
func (n *checkServiceNodeSorter) Less(i, j int) bool {
	return n.Vec[i] < n.Vec[j]
}