go/src/cmd/compile/internal/types/sort.go

// MethodsByNameCmp sorts methods by name.
func MethodsByNameCmp(x, y *Field) int {}