Add a container which reorders compound types definitions (Union and Struct)
to ensure a correct dependency order