Due to the presence of electron withdrawing group like Ph group decreases the electron density of nitrogen and hence, the lone pair of nitrogen are not available for donation. So, (C6H5)3N is least basic due to the presence of three electron withdrawing Ph(C6H5) groups.