This sorts a multidimensional associative array and keeps the values. Please note that uasort() and usort() are sorting an array and not returning a new one.
uasort($array_to_sort, function($a, $b)
{
return $a['order'] - $b['order'];
});