Proof-of-concept reproducing (possible) issue with @Order combined with (nested) @Configuration
Proofs that @Order works while being applied to configuration which triggers @ScanComponent
Expected: b1
Outcome: b1
Expected: B2#b2
Outcome: a1
Expected: B2#b2
Outcome: A2#a2
Expected: A2#a2
Outcome: A2#a2
Expected: A1#a1
Outcome: A2#a2
All starts working once I remove "static" from A1/A2/B1/B2 @Configuration classes