The correct order of basicity is
Aliphatic amines are more basic than aromatic amines because the lone pair in aromatic amines is delocalized into the benzene ring via resonance.
-methoxyaniline: The methoxy group () exert a strong (Mesomeric) effect. This highly increases basicity relative to aniline.
Aniline: It has no additional substituents. The lone pair is delocalized into the ring, making it less basic than aliphatic amines but more basic than those with withdrawing groups.
-nitroaniline: The nitro group () is a powerful and group. This highly decreases basicity.
Thus, the increasing order of basicity is
Tagged Electrophilic substitution of aniline. Machine-assigned, so read it as a strong shortlist rather than a verdict.