1. Write a program that puts 10 random Coins (pp. 793--794, with Comparable interface added) into an array. Print the contents of the array so you can verify that it is random. Then sort it using Arrays.sort(). Print again.

2. Copy the following code into a program:

String[] badLyrics = { "Ice", "ice", "baby", "Baby", "come", "back", "These",
   "2", "songs", "destroyed", "me", "back", "in", "my", "youth" }

Sort the badLyrics. Explain why the badLyrics end up in the order that they do.