title: sort array of associative arrays php
body: <p>I know this might be duplicate question or there is an answer somewhere here in stackoverflow but i just can't make it work on my code. Here is the sample:</p>
  
  <p>i have the PHP :</p>
  
  <pre><code>foreach ($load_image_array as $key) {
      foreach($key as $k) {
        echo "&lt;pre&gt;";
         print_r($k);
        echo "&lt;pre&gt;"; 
      }
    }
  </code></pre>
  
  <p>where when i print_r, it display like so :</p>
  
  <pre><code>Array
  (
      [upload_id] =&gt; 26
      [upload_username] =&gt; user1
  )
  Array
  (
      [upload_id] =&gt; 23
      [upload_username] =&gt; user2
  )
  Array
  (
      [upload_id] =&gt; 25
      [upload_username] =&gt; user1
  )
  Array
  (
      [upload_id] =&gt; 24
      [upload_username] =&gt; user2
  )
  </code></pre>
  
  <p>I just want to sort it by <code>[upload_id]</code>. I tried array_multisort but i can't make it work, any pros can guide me here? Thanks!</p>