title: List an Array of Strings in alphabetical order
body: <p>I have a program which has the user inputs a list of names. I have a switch case going to a function which I would like to have the names print off in alphabetical order.</p>
  
  <pre><code>public static void orderedGuests(String[] hotel)
  {
    //??
  }
  </code></pre>
  
  <p>I have tried both  </p>
  
  <pre><code>Arrays.sort(hotel);
  System.out.println(Arrays.toString(hotel));
  </code></pre>
  
  <p>and</p>
  
  <pre><code>java.util.Collections.sort(hotel);
  </code></pre>