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