Laravel Order от Raw

$orders = DB::table('orders')
                ->orderByRaw('updated_at - created_at DESC')
                ->get();
Alberto Peripolli