laravel 7 eloquent get all order by code example Example: get all sort by laravel $results = Project::orderBy('name')->get();