Searched refs:valueSorter (Results 1 – 1 of 1) sorted by relevance
22 sort.Sort(valueSorter(vs))35 type valueSorter []reflect.Value type37 func (vs valueSorter) Len() int { return len(vs) }38 func (vs valueSorter) Less(i, j int) bool { return isLess(vs[i], vs[j]) }39 func (vs valueSorter) Swap(i, j int) { vs[i], vs[j] = vs[j], vs[i] }