I have the following array\[code\][0] => Array ( [id] => 229 [val] => 2 ) [3] => Array ( [id] => 237 [val] => 1 ) [4] => Array ( [id] => 238 [val] => 6 )\[/code\]I need to sort this array according to the val values in the array, and do not know how to accomplish this?