assert   
  - PLAN JOIN (JOIN (TMP_SP1 NATURAL, T1 INDEX (TMP_TBL1_FLD2)), T2 INDEX (TMP_TBL2_FLD1), T3 INDEX (TMP_TBL3_FLD1))
  + PLAN JOIN (TMP_SP1 NATURAL, T1 INDEX (TMP_TBL1_FLD2), T2 INDEX (TMP_TBL2_FLD1), T3 INDEX (TMP_TBL3_FLD1))

LOG DETAILS:

2026-03-19 09:55:58.242
2026-03-19 09:55:58.248 act = <firebird.qa.plugin.Action object at [hex]>
2026-03-19 09:55:58.262
2026-03-19 09:55:58.271 @pytest.mark.version('>=5.0')
2026-03-19 09:55:58.278 def test_1(act: Action):
2026-03-19 09:55:58.285 act.expected_stdout = expected_stdout_5x if act.is_version('<6') else expected_stdout_6x
2026-03-19 09:55:58.298 act.execute(combine_output = True)
2026-03-19 09:55:58.306 >       assert act.clean_stdout == act.clean_expected_stdout
2026-03-19 09:55:58.313 E       assert
2026-03-19 09:55:58.320 E         - PLAN JOIN (JOIN (TMP_SP1 NATURAL, T1 INDEX (TMP_TBL1_FLD2)), T2 INDEX (TMP_TBL2_FLD1), T3 INDEX (TMP_TBL3_FLD1))
2026-03-19 09:55:58.340 E         + PLAN JOIN (TMP_SP1 NATURAL, T1 INDEX (TMP_TBL1_FLD2), T2 INDEX (TMP_TBL2_FLD1), T3 INDEX (TMP_TBL3_FLD1))
2026-03-19 09:55:58.348
2026-03-19 09:55:58.355 tests/bugs/gh_3812_test.py:84: AssertionError
2026-03-19 09:55:58.362 ---------------------------- Captured stdout setup -----------------------------
2026-03-19 09:55:58.368 Creating db: localhost:/var/tmp/qa_2024/test_11404/test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]