title: Most efficient way to sort a multidimensional array (php)
body: <p>I am looking for the most efficient way to sort a multidimensional array in php.I want to sort the array by the value <code>name</code> in <code>[result][index][kl][0]</code>. What is the fastest way to do this? My array has like 100 elements.
  My array looks like this:</p>
  
  <pre><code>Array
  (
  [jsonrpc] =&gt; 2.0
  [id] =&gt; req-002
  [result] =&gt; Array
      (
          [0] =&gt; Array
              (
                  [type] =&gt; subst
                  [lsid] =&gt; 11
                  [date] =&gt; 20150209
                  [startTime] =&gt; 955
                  [endTime] =&gt; 1040
                  [kl] =&gt; Array
                      (
                          [0] =&gt; Array
                              (
                                  [id] =&gt; 29
                                  [name] =&gt; S12UB
                              )
  
                      )
  
              )
  
          [1] =&gt; Array
              (
                  [type] =&gt; subst
                  [lsid] =&gt; 11
                  [date] =&gt; 20150209
                  [startTime] =&gt; 1045
                  [endTime] =&gt; 1130
                  [kl] =&gt; Array
                      (
                          [0] =&gt; Array
                              (
                                  [id] =&gt; 29
                                  [name] =&gt; S12UB
                              )
  
                      )
  
              )
  </code></pre>
  
  <p>Thank you.</p>