Repository: plotly/dash
File: tests/integration/multi_page/test_pages_order.py (Python)

Code before:
        layout=html.Div("text for multi_layout14", id="text_multi_layout14"),
        id="multi_layout14",
    )
    dash.register_page(
        "multi_layout15",
        layout=html.Div("text for multi_layout15", id="text_multi_layout15"),
        id="multi_layout15",
    )
    # Test string for order
    dash.register_page(
        "multi_layout16",
        layout=html.Div("text for multi_layout16", id="text_multi_layout16"),
        order="2a",
        id="multi_layout16",
    )

    app.layout = html.Div(
        [
            html.Div(
                [
                    html.Div(
                        dcc.Link(
                            f"{page['name']} - {page['path']}",
                            id=page["id"],
                            href=page["path"],
                        )
                    )
                    for page in dash.page_registry.values()
                ]
            ),
            dash.page_container,
            dcc.Location(id="url", refresh=True),
        ]
    )

    modules = [
        "multi_layout3",
        "multi_layout2",
        "multi_layout1",
        "multi_layout4",
        "multi_layout3.5",
        "multi_layout5",
        "multi_layout6",
        "multi_layout7",
        "multi_layout8",
        "multi_layout9",
        "multi_layout10",
        "multi_layout11",
        "multi_layout12",
        "multi_layout13",
        "multi_layout16",

Review comment (suggestion):
```suggestion
        "first_string_order",
        layout=html.Div("text for string_order", id="text_string_order"),
        order="2a",
        id="first_string_order",
    )
    dash.register_page(
        "aaa_first_with_no_order",
        layout=html.Div("text for aaa", id="text_aaa"),
        id="aaa_first_with_no_order",
    )
    dash.register_page(
        "yyy_last_string_order",
        layout=html.Div("text for yyy", id="text_yyy"),
        order="zzz",
        id="yyy_last_string_order",
    )
```

Code after:
        layout=html.Div("text for multi_layout14", id="text_multi_layout14"),
        id="multi_layout14",
    )
    dash.register_page(
        "multi_layout15",
        layout=html.Div("text for multi_layout15", id="text_multi_layout15"),
        id="multi_layout15",
    )
    # Test string for order
    dash.register_page(
        "first_string_order",
        layout=html.Div("text for string_order", id="text_string_order"),
        order="2a",
        id="first_string_order",
    )
    dash.register_page(
        "aaa_first_with_no_order",
        layout=html.Div("text for aaa", id="text_aaa"),
        id="aaa_first_with_no_order",
    )
    dash.register_page(
        "yyy_last_string_order",
        layout=html.Div("text for yyy", id="text_yyy"),
        order="zzz",
        id="yyy_last_string_order",
    )

    app.layout = html.Div(
        [
            html.Div(
                [
                    html.Div(
                        dcc.Link(
                            f"{page['name']} - {page['path']}",
                            id=page["id"],
                            href=page["path"],
                        )
                    )
                    for page in dash.page_registry.values()
                ]
            ),
            dash.page_container,
            dcc.Location(id="url", refresh=True),
        ]
    )

    modules = [
        "multi_layout3",
        "multi_layout2",
        "multi_layout1",
        "multi_layout4",