Arrange the following compounds in order of increasing reactivity towards nucleophilic substitution.
i< ii < iii < iv
iv > iii > ii > I
ii <i< iii < iv
iv < iii < ii <i
EWG increases reactivity towards nucleophilic substitution, EDG decreases reactivity towards nucleophilic substitution