def build_ranking(
        cls,
        year: Year,
        rank: int,
        team_key: TeamKey,
        wins: int,
        losses: int,
        ties: int,
        qual_average: Optional[float],
        matches_played: int,
        dq: int,
        sort_orders: List[float],