How to sort multi-dimensional array

array_multisort(array_map(function($element) {
return $element[‘order’];   //array index name
}, $col2), SORT_ASC, $col2);  // $col2 is the array name

echo “<pre>”;
print_r($col2);