-X (F, Cl, Br, I) do not have any priority order and considered as alkyl substituents while numbering
Acid chloride group has higher priority than ether group. Also there is a chloro locant in ether group, the ether group is also numbered besides the parent chain. Numbering of ether branch is done starting from carbon directly bonded to oxygen. a is the correct option