how do i sort data from model in laravel code example Example: eloquent model sort by ascending order $posts = Post::orderBy('id', 'DESC')->get();