Preserve the order of the imported sections by assigning weights.