$allheros = RatingHero::all();
$heroes = json_decode($allheros, true);
$sorted = collect($heroes)->sortBy(function ($hero, $key) {
return collect('KOLOBOK')->sum('win_rate');
})->all();
dd($sorted);