Zakaz laravel według RAW
$orders = DB::table('orders')
->orderByRaw('updated_at - created_at DESC')
->get();
Alberto Peripolli
$orders = DB::table('orders')
->orderByRaw('updated_at - created_at DESC')
->get();