Ordnung durch ASC in 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();
orderByRaw("FIELD(clan_rank , 'Owner', 'Admin', 'Member') ASC");
$posts = Post::orderBy('id', 'DESC')->get();
$users = User::where('name','Joe')
->orderBy('id')
->get();