In the oxidation of halide ions in halogen group, the order follows:
F>Cl>Br>I
When the top halide ions can replace another halide ion if it is present below it in the halide series.Only chlorine present above iodine can replace it from hydrogen iodide solution.