I\'m stuck on a simple task. I just need to order results coming from this call
$results = Project::all();
Where Project is
Project
In addition, just to buttress the former answers, it could be sorted as well either in descending desc or ascending asc orders by adding either as the second parameter.
desc
asc
$results = Project::orderBy('created_at', 'desc')->get();