Go sort Package Reverse()
Reverse()
package main// w w w . ja va 2s . com import ( "fmt" "sort" ) func main() { fmt.Println("Interger Reverse Sort") num := []int{3,2,6,1,9,3} sort.Sort(sort.Reverse(sort.IntSlice(num))) fmt.Println(num) }