[]float64: ls := sort.Float64Slice{ 1.1, 4.4, 5.5, 3.3, 2.2, } fmt.Println(ls) //[1.1 4.4 5.5 3.3 2.2] sort.Float64s(ls) fmt.Println(ls) //[1.1 2.2 3.3 4.4 5.5] []int: ls := sort.IntSlice{ , , , , , } fmt.Println(ls) //[1 4 5 3 2] sort.Ints(ls) fmt.P…