I have this array which is pretty simple
$array[0][0] = 'Jack';
$array[0][1] = 'Thomas';
$array[0][2] = '1981-04-11';
$array[1][0] = 'Gandalf';
$array[1][1] = 'Smith';
$array[1][2] = '1122-04-11';
$array[2][0] = 'Georges';
$array[2][1] = 'G.';
$array[2][2] = '1943-04-11';
I want to sort this DESCENDING by the date so it ends like that
$array[0][0] = 'Jack';
$array[0][1] = 'Thomas';
$array[0][2] = '1981-04-11';
$array[1][0] = 'Georges';
$array[1][1] = 'G.';
$array[1][2] = '1943-04-11';
$array[2][0] = 'Gandalf';
$array[2][1] = 'Smith';
$array[2][2] = '1122-04-11';
I guess a line like one of the above should do but I don't know what to put in place of <what goes here?>)
$rssSortedArray = array_multisort($array, <what goes here?>);
OR
$rssSortedArray = usort($array, <what goes here?>);