The correct option is A
III>II>I
Since in (III) lone pair is only involved in delocalisation, in (II) nitrogen is attached to the carbonyl (withdrawing group) and one alkyl group (donating group +I effect) which have the more basic character than the (I) in which N atom is attached to the two withdrawing groups i.e benzene and carbonyl. Hence correct basicity order is III>II>I