7 func (s MyIntSlice) Len() int { return 0 }
8 func (s MyIntSlice) Less(i, j int) bool { return true }
9 func (s MyIntSlice) Swap(i, j int) {}
13 sort.Sort(sort.IntSlice(a)) // want `sort\.Ints`
18 sort.Sort(sort.Float64Slice(b)) // want `sort\.Float64s`
23 sort.Sort(sort.StringSlice(c)) // want `sort\.Strings`
28 sort.Sort(MyIntSlice(a))
42 // Don't recommend sort.Ints when there was another legitimate
43 // sort.Sort call already
47 sort.Sort(sort.IntSlice(a))
52 sort.Sort(sort.IntSlice(a)) // want `sort\.Ints`
53 sort.Sort(sort.IntSlice(a)) // want `sort\.Ints`
59 sort.Sort(sort.IntSlice(a)) // want `sort\.Ints`
65 sort.Sort(sort.IntSlice(a)) // want `sort\.Ints`