laravel sql query order by code example
Example: laravel order by
$users = DB::table('users')
-> orderBy('name', 'desc')
-> get();
$users = DB::table('users')
-> orderBy('name', 'desc')
-> get();