Oxygen ordering and superconductivity in DyBaSrCu3Oy