->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();
$posts = Post::orderBy('id', 'DESC')->get();
$collect = collect($query)->sortBy('name')
$inquiries = Inquiry::all()->sortByDesc('created_at')->sortByDesc('Status')->values();
$noticias = Noticia::orderByDesc('created_at')->limit(10)->get();
$users = User::where('name','Joe')
->orderBy('id')
->get();
$results = Project::orderBy('name')->get();
->orderBy('sort_filter')->orderByRaw('LCASE(sort_filter)')
->orderBy('sort_filter')->orderByRaw('LCASE(sort_filter)')
->orderBy('sort_filter')->orderByRaw('LCASE(sort_filter)')