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