order by default asc or desc in laravel code example Example: laravel order by desc $posts = Post::orderBy('id', 'DESC')->get();