def METHOD_NAME(cls, data: dict[str | int, T]) -> Params[T]:
    return cls(
        *(data[k] for k in sorted(k for k in data if isinstance(k, int))),
        **{k: v for k, v in data.items() if isinstance(k, str)},
    )