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:
i have the PHP :
foreach ($load_image_array as $key) {
    foreach($key as $k) {
      echo "<pre>";
       print_r($k);
      echo "<pre>"; 
    }
  }
where when i print_r, it display like so :
Array
(
    [upload_id] => 26
    [upload_username] => user1
)
Array
(
    [upload_id] => 23
    [upload_username] => user2
)
Array
(
    [upload_id] => 25
    [upload_username] => user1
)
Array
(
    [upload_id] => 24
    [upload_username] => user2
)
I just want to sort it by [upload_id]. I tried array_multisort but i can't make it work, any pros can guide me here? Thanks!
 
     
    