$users = DB::table('users')
-> orderBy('name', 'desc')
-> get();
// Make sure column names are correct
$inquiries = Inquiry::orderBy('status', 'ASC')
->orderBy('created_at', 'DESC')
->get();
$inquiries = Inquiry::all()->sortByDesc('created_at')->sortByDesc('Status')->values();
$users = User::where('name','Joe')
->orderBy('id')
->get();