get all sort by laravel
snippet in php

get all sort by laravel

user8400

$results = Project::orderBy('name')->get();