Home | History | Annotate | Download | only in sort

Lines Matching defs:Sort

9 	"sort"
21 // multiSorter implements the Sort interface, sorting the changes within.
27 // Sort sorts the argument slice according to the less functions passed to OrderedBy.
28 func (ms *multiSorter) Sort(changes []Change) {
30 sort.Sort(ms)
34 // Call its Sort method to sort the data.
41 // Len is part of sort.Interface.
46 // Swap is part of sort.Interface.
51 // Less is part of sort.Interface. It is implemented by looping along the
108 // Simple use: Sort by user.
109 OrderedBy(user).Sort(changes)
113 OrderedBy(user, increasingLines).Sort(changes)
116 OrderedBy(user, decreasingLines).Sort(changes)
119 OrderedBy(language, increasingLines).Sort(changes)
122 OrderedBy(language, increasingLines, user).Sort(changes)