Laravel Child Relation Order von Desc


// order one relation with a specific order 
Model::with(['relation1'])
        ->with(['relation2' => function($query)  {
            $query->orderBy('relation2_column_name','DESC');
           }
        ])
         ->where('slug', $slug)->first();
Smiling Starling