Hi,
I'm sorting a slice using the sort.Strings function but somehow I cannot print it because of the error: sort.Strings(fa) (no value) used as valuecompiler
func sortElementsByKey() {
fa := []string{}
for k, _ := range familyAge {
fa = append(fa, k)
}
fmt.Println(fa)
sort.Strings(fa)
fmt.Println(sort.Strings(fa))
}