I think the most basic is B because -CH3 is an electron donator, the next is D because -Cl is in meta position,hence it causes less effect than C when Cl is in ortho position more convinient to deactivate benzene ring, O is more electronegative then Cl so it diperse more negative charge on N atom, A ranked the fourth, and E is the most acidic because there is a negative charge on the benzen ring