@@ -0,0 +1,12 @@
package fejkdata
import "sort"
func sortedNames[V any](m map[string]V) []string {
names := make([]string, 0, len(m))
for name := range m {
names = append(names, name)
}
sort.Strings(names)
return names
The note is not visible to the blocked user.