// Chapter 24 try-this: sorting a slice both ways. // // A slice of numbers is provided below. // 1. Sort it from lowest to highest with slices.Sort and print it. // 2. Sort it from highest to lowest with slices.Sort and slices.Reverse, // and print it again. // // You need another package. Change the import line to: // import ( // "fmt" // "slices" // ) // // Run with: go run exercises/24/01-sort.go package main import "fmt" func main() { numbers := []int{30, 12, 7, 24} // TODO: sort from lowest to highest and print. // TODO: sort from highest to lowest and print. // Replace this placeholder line: fmt.Println("TODO: replace this line", numbers) }