->orderBy('id', 'DESC') laravel

PHP
->orderBy('id', 'DESC');$results = Project::orderBy('name')->get();

Source

Also in PHP: