laravel eloquent order collection by multiple columns code example
Example: laravel multiple orderby
User::orderBy('name', 'DESC')
->orderBy('email', 'ASC')
->get();
User::orderBy('name', 'DESC')
->orderBy('email', 'ASC')
->get();