Since the conversion of an alcohol to alkyl halide is an nucleophilic substitution reaction and the nucleophilicity (ie, tendency to donate an electron pair to the carbon atom) of the halide ions decreases in the order, I−>Br−>Cl−>F− , Thus, the order of reactivity of halogen acids decreases in order : HI>HBr>HCl>HF .