(i, j int)
| 11 | func (r RemoteSet) Len() int { return len(r) } |
| 12 | func (r RemoteSet) Swap(i, j int) { r[i], r[j] = r[j], r[i] } |
| 13 | func (r RemoteSet) Less(i, j int) bool { |
| 14 | return remoteNameSortScore(r[i].Name) > remoteNameSortScore(r[j].Name) |
| 15 | } |
| 16 | |
| 17 | func remoteNameSortScore(name string) int { |
| 18 | switch strings.ToLower(name) { |