diff --git a/routes/web.php b/routes/web.php index 8c51c96f..121266d5 100644 --- a/routes/web.php +++ b/routes/web.php @@ -158,7 +158,7 @@ Route::get('/report', function(){ } } - dd($customers->sortBy(function($customer){ + dd($customers->sortByDesc(function($customer){ return $customer['cbm']; }));