Aniline is far less basic than ammonia and aliphatic amines due to delocalization of lone pair of electrons on the benzene ring. Aliphatic amines are stronger bases than ammonia due to +/ effect of alkyl group: More the number of alkyl groups stronger is the base. Hence basic strength will follow the order: $ {(C2H5)2NH > C2H5NH2 > NH3 > C6H5NH2 }$