How to alphabetically sort a multi-dimensional array according to certain key value(PHP)
<p>How can I write a functional to alphabetize a multidimensional array such that the first sort is by 'building name' then 'last_name', then 'first_name'</p>

<pre><code> [70] =&gt; 
  Array ( 
    [id] =&gt; 635
    [name] =&gt; Mick Kruzic 
    [dob] =&gt; 11/05/1968 
    [building_name] =&gt; 
    [department] =&gt; 
    [phone_ext] =&gt; 
    [team_name] =&gt; 
    [team_leader] =&gt; 
    [party_registered] =&gt; 
    [total_points] =&gt; 0 
    [total_tickets] =&gt; 0 
    [awarded_prizes] =&gt; 0 
    [processing_prizes] =&gt; 0 
    )
</code></pre>
