orden por sum () laravel
Auth::user()->orderByRaw('SUM(points) DESC')->get();
Lokesh003
Auth::user()->orderByRaw('SUM(points) DESC')->get();