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-04-05 10:40:39.158
2026-04-05 10:40:39.166 act = <firebird.qa.plugin.Action object at [hex]>
2026-04-05 10:40:39.173
2026-04-05 10:40:39.183 @pytest.mark.version('>=5.0')
2026-04-05 10:40:39.195 def test_1(act: Action):
2026-04-05 10:40:39.206 act.expected_stdout = expected_stdout_5x if act.is_version('<6') else expected_stdout_6x
2026-04-05 10:40:39.217 act.execute(combine_output = True)
2026-04-05 10:40:39.228 >       assert act.clean_stdout == act.clean_expected_stdout
2026-04-05 10:40:39.236 E       assert
2026-04-05 10:40:39.244 E         - PLAN JOIN (JOIN (TMP_SP1 NATURAL, T1 INDEX (TMP_TBL1_FLD2)), T2 INDEX (TMP_TBL2_FLD1), T3 INDEX (TMP_TBL3_FLD1))
2026-04-05 10:40:39.265 E         + PLAN JOIN (TMP_SP1 NATURAL, T1 INDEX (TMP_TBL1_FLD2), T2 INDEX (TMP_TBL2_FLD1), T3 INDEX (TMP_TBL3_FLD1))
2026-04-05 10:40:39.274
2026-04-05 10:40:39.281 tests/bugs/gh_3812_test.py:84: AssertionError
2026-04-05 10:40:39.287 ---------------------------- Captured stdout setup -----------------------------
2026-04-05 10:40:39.294 Creating db: localhost:/var/tmp/qa_2024/test_11404/test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]