2 ms·
An example from the docs: sort.Slice(people, func(i, j int) bool { return people[i].Name < people[j].Name })
by randomdata 9y ago
An example from the docs:
sort.Slice(people, func(i, j int) bool { return people[i].Name < people[j].Name })
2 ms·