// Less gives whether the ith element
// of a frequency list has is lesser
// than the jth element by comparing
// their TFIDF values
169861
func (f Frequencies) Less(i, j int) bool {
	return f[i].TFIDF < f[j].TFIDF
}
937926
func (versions Versions) Less(i, j int) bool {
	return versions[i] < versions[j]
}
640911
func (l byName) Less(i, j int) bool {
	return strings.ToLower(l.Items[i].Name) < strings.ToLower(l.Items[j].Name)
}
594260
func (e eventlist) Less(i, j int) bool {
	return e[i].EventIndex < e[j].EventIndex
}
266228
func (s bySpecificity) Less(i, j int) bool {
	return s[i].Specificity() >= s[j].Specificity()
}
440246
func (m metadataList) Less(i, j int) bool {
	return m[i].Priority < m[j].Priority
}
800719
func (fs *FileSorter) Less(i, j int) bool {
	l := fs.buf[i].key
	r := fs.buf[j].key
	ret, err := lessThan(fs.sc, l, r, fs.byDesc)
	if fs.err == nil {
		fs.err = err
	}
	return ret
}
1141652
func (e templateSpecs) Less(j, k int) bool {
	if len(e[j].filter) == 0 && len(e[k].filter) == 0 {
		jlength := len(strings.Split(e[j].template, e[j].separator))
		klength := len(strings.Split(e[k].template, e[k].separator))
		return jlength < klength
	}
	if len(e[j].filter) == 0 {
		return true
	}
	if len(e[k].filter) == 0 {
		return false
	}

	jlength := len(strings.Split(e[j].template, e[j].separator))
	klength := len(strings.Split(e[k].template, e[k].separator))
	return jlength < klength
}
1335216
func (r *TranscribedRecipe) Less(i, j int) bool {
	a, b := (*r)[i].Region, (*r)[j].Region
	if a.Begin() == b.Begin() {
		return a.End() < b.End()
	}
	return a.Begin() < b.Begin()
}
1330141
func (h segmentHeap) Less(i, j int) bool {
	return h[i].sequenceNumber.LessThan(h[j].sequenceNumber)
}
1231184
func (p *pathHeap) Less(i, j int) bool {
	return p.paths[i].dist < p.paths[j].dist
}
391974
func (s SortAccept) Less(i, j int) bool {
	switch {
	case s.specs[i].Q == s.specs[j].Q:
		return indexOf(s.prefs, s.specs[i].Value) < indexOf(s.prefs, s.specs[j].Value)
	default:
		return s.specs[i].Q > s.specs[j].Q
	}
}
66167
func (f FunctionNameList) Less(i, j int) bool {
	if f[i].Str == "" && f[j].Str != "" {
		return true
	}
	if f[i].Str != "" && f[j].Str == "" {
		return false
	}
	if f[i].Str != "" && f[j].Str != "" {
		if f[i].Str > f[j].Str {
			return true
		} else if f[i].Str < f[j].Str {
			return false
		}
	}
	return f[i].Name < f[j].Name
}
941916
func (k *KeyBindings) Less(i, j int) bool {
	return k.Bindings[i].Keys[k.seqIndex].Index() < k.Bindings[j].Keys[k.seqIndex].Index()
}
1111573
func (it Items) Less(i, j int) bool {
	return it[i].Key < it[j].Key
}
1168675
func (tal TabletAliasList) Less(i, j int) bool {
	if tal[i].Cell < tal[j].Cell {
		return true
	} else if tal[i].Cell > tal[j].Cell {
		return false
	}
	return tal[i].Uid < tal[j].Uid
}
596129
func (s timeSorter) Less(i, j int) bool {
	return s[i] < s[j]
}