Restore the ordering before the refactoring in commit 0f20ba5b68 (Ninja: Swift: Extract helpers and reorder module flags, 2026-04-10, v4.4.0-rc1~273^2~1) to ensure the correct precedence with launchers. Add regression tests. Fixes: #27931, #27934
0f20ba5b68