Quentin wants to create a Go program that takes as input 3 of his movies and then sorts them based on the highest rating first, and then by the movie name in descending order (from z to a)!
Please help Quentin implement the appropriate sorting operation in his program.
This problem uses the
bufio and os packages to read a whitespace-separated string from the input. To solve this task, you don't need to know how the bufio/os packages work. The only objective is to sort the movies slice and print the properly sorted movies slice within the fmt.Println() statement.