Reimplemented TraitsInConstructOrder()

For https://github.com/OpenRA/OpenRA/issues/6701

Hopefully this should be better
if I understood that correctly, this will trigger the loop closure bug