array_multisort

$dataKey = [];
foreach ($data as $key=>$value) {
    $dataKey[] = $value['created_at'];
}
array_multisort($dataKey,SORT_DESC,$data);