laravel 8 eloquent orderby

40

$inquiries = Inquiry::all()->sortByDesc('created_at')->sortByDesc('Status')->values();

Comments

Submit
0 Comments