Ductile iron pipes perform well in sandy soil conditions due to their inherent strength and durability. The material's high tensile strength allows it to withstand the pressure exerted by the surrounding soil, preventing pipe deformation and breakage. Additionally, the corrosion resistance of ductile iron ensures a longer lifespan, even in corrosive sandy soil environments.