×

Welcome to TagMyCode

Please login or create account to add a snippet.
1
0
 
0
Language: PHP
Posted by: Zach Gover
Added: Sep 22, 2018 2:34 PM
Modified: Sep 22, 2018 2:44 PM
Views: 3450
  1. usort($myArray, function($a, $b) {
  2.     return $a['order'] <=> $b['order'];
  3. });