Less will return true if the ID of element at i is less than j; part of the sort.Interface
(i, j int)
| 125 | // Less will return true if the ID of element at i is less than j; |
| 126 | // part of the sort.Interface |
| 127 | func (is IdentifierSlice) Less(i, j int) bool { |
| 128 | return is[i].ID() < is[j].ID() |
| 129 | } |
| 130 | |
| 131 | // Swap the elements at positions i and j |
| 132 | // part of the sort.Interface |