sortby desc laravel code example
Example 1: laravel order by desc
$posts = Post::orderBy('id', 'DESC')->get();
Example 2: sort laravel eloquent
$posts = Post::orderBy('id', 'DESC')->get();
$posts = Post::orderBy('id', 'DESC')->get();
$posts = Post::orderBy('id', 'DESC')->get();