diff --git a/config/config.go b/config/config.go index bc8691dac..4fd65139e 100644 --- a/config/config.go +++ b/config/config.go @@ -210,7 +210,7 @@ func (c *Config) OutputNames() []string { return PluginNameCounts(name) } -// PluginNameCounts returns a list of plugin names and their count +// PluginNameCounts returns a list of sorted plugin names and their count func PluginNameCounts(plugins []string) []string { names := make(map[string]int) for _, plugin := range plugins { @@ -226,6 +226,7 @@ func PluginNameCounts(plugins []string) []string { } } + sort.Strings(namecount) return namecount }