title: Sort multi-dimensional array by specific key
body: <p>I have an array:</p>
  
  <pre><code>Array (
      [0] =&gt; stdClass Object (
          [user_id] =&gt; 1
          [ID] =&gt; 1
          [user_login] =&gt; admin
          [display_name] =&gt; admin
          [user_email] =&gt; webbinformation@nacka.se
          [meta_value] =&gt; a:1:{s:13:\"administrator\";s:1:\"1\";}
      )
      [1] =&gt; stdClass Object (
          [user_id] =&gt; 4
          [ID] =&gt; 4
          [user_login] =&gt; ungtinflytande
          [display_name] =&gt; ungtinflytande
          [user_email] =&gt; klarakviberg@gmail.com
          [meta_value] =&gt; a:1:{s:13:\"administrator\";s:1:\"1\";}
      )
      [2] =&gt; stdClass Object (
          [user_id] =&gt; 5
          [ID] =&gt; 5
          [user_login] =&gt; inflytandepilot
          [display_name] =&gt; inflytandepilot
          [user_email] =&gt; hildalundgren@hotmail.com
          [meta_value] =&gt; a:1:{s:6:\"author\";s:1:\"1\";}
      )
      [3] =&gt; stdClass Object (
          [user_id] =&gt; 11
          [ID] =&gt; 11
          [user_login] =&gt; matsbohman
          [display_name] =&gt; matsbohman
          [user_email] =&gt; mats.bohman@nacka.se
          [meta_value] =&gt; a:1:{s:6:\"editor\";s:1:\"1\";}
      )
      [4] =&gt; stdClass Object (
          [user_id] =&gt; 12
          [ID] =&gt; 12
          [user_login] =&gt; klarakviberg
          [display_name] =&gt; klarakviberg
          [user_email] =&gt; nastasteg@nacka.se
          [meta_value] =&gt; a:1:{s:13:\"administrator\";s:1:\"1\";}
      )
  )
  </code></pre>
  
  <p>...that I wanna sort by the <code>display_name</code> key. I currently print it like this:</p>
  
  <pre><code>foreach ($blogusers as $bloguser) {
      ...
  }
  </code></pre>
  
  <p>How do I do this?</p>