Go Slices Int Slice Sort
package main/*from www . j a va2 s. 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) }