title: How to sort a multi dimensional array in PHP alphabetically?
body: <p>My API written in PHP (Codeigniter) outputs users based on a selected keyword how can I sort this array in alphabetical order before it outputs to JSON.</p>
  
  <p>This is the output:</p>
  
  <p><a href="http://pastie.org/2402372" rel="nofollow">http://pastie.org/2402372</a></p>
  
  <p>Thankful for all input!</p>