title: How to display an Array under alphabetical letters using PHP?
body: <p>I have an array that already contains all it's values in alphabetical order:</p>
  
  <pre><code>Alligator
  Alpha
  Bear
  Bees
  Banana
  Cat
  Cougar
  </code></pre>
  
  <p>Now I just want to list the first letter each starts with above it like so:</p>
  
  <pre><code>A
  ---
  
  Alligator
  Alpha
  
  B
  ---
  
  Bear
  Bees
  Banana
  
  C
  ---
  
  Cat
  Cougar
  
  etc...
  </code></pre>
  
  <p>How can this be done?</p>