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);
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.