Go Slices String Slice Reverse
package main/* w w w. j av a 2 s. co m*/ import ( "fmt" "sort" ) func main() { fmt.Println("String Reverse Sort") text := []string{"C++","UK","Javascript","CSS HTML","Python"} sort.Sort(sort.Reverse(sort.StringSlice(text))) fmt.Println(text) }