📜  laravel 6 orderby - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:55.078000             🧑  作者: Mango

代码示例3
$inquiries = Inquiry::all()->sortByDesc('created_at')->sortByDesc('Status')->values();