eloquent model sort by ascending order
snippet in php

order By Asc in laravbel

user1473

->orderBy('id', 'DESC');

eloquent model sort by ascending order

user1056

$posts = Post::orderBy('id', 'DESC')->get();