function (TeamScore $ts1, TeamScore $ts2): int {
                if ($ts1->getRankingScore()->toNative() > $ts2->getRankingScore()->toNative()) {
                    return -1;
                } elseif ($ts1->getRankingScore()->toNative() < $ts2->getRankingScore()->toNative()) {
                    return 1;