def METHOD_NAME(
    onnx_repo_models: OnnxRepoModelFixture,  # noqa: F811
):
    model_path = onnx_repo_models.model_path
    model = load_model(model_path)
    validate_onnx(model)  # assert that starting model is valid
    # create invalid model by changing node ordering
    nodes = list(model.graph.node)
    checker_failed = False
    for _ in range(10):
        try:
            numpy.random.shuffle(nodes)
            model.graph.ClearField("node")
            model.graph.node.extend(nodes)
            validate_onnx(model)
        except Exception:
            # checker failed due to node topo ordering
            checker_failed = True
            break
    assert checker_failed, "unable to induce invalid model by shuffling node order"
    graph = ONNXGraph(model)
    graph.sort_nodes_topologically()
    # check that sorted model is valid
    validate_onnx(model)