Zamów przez ASC w Laravbel
->orderBy('id', 'DESC');
Amit Halder
->orderBy('id', 'DESC');
$users = DB::table('users')
-> orderBy('name', 'desc')
-> get();
// Make sure column names are correct
$inquiries = Inquiry::orderBy('status', 'ASC')
->orderBy('created_at', 'DESC')
->get();
$noticias = Noticia::orderByDesc('created_at')->limit(10)->get();