def METHOD_NAME():
    str_cfg = """
    [model]
    [model.chain]
    @layers = "chain.v1"
    [model.chain.*.hashembed]
    @layers = "HashEmbed.v1"
    nO = 8
    nV = 8
    [model.chain.*.expand_window]
    @layers = "expand_window.v1"
    window_size = 1
    """
    cfg = Config().from_str(str_cfg)
    resolved = my_registry.resolve(cfg)
    model = resolved["model"]["chain"]
    # Fails when arguments are sorted, because expand_window
    # is sorted before hashembed.
    assert model.name == "hashembed>>expand_window"