In NH3,N is more electronegative than H. So, nitrogen pulls the electron from H towards itself and the direction of moment is same due to N−H bond as that of the lone pair of electrons on nitrogen.
In NF3,F is more electronegative than N. All F atoms pull the electrons towards themselves and resultant dipole moment is opposite to the direction of that of the lone pair at N atom. Hence, net dipole moment decreases.
Therefore, dipole moment of NH3 is greater than NF3. Hence, order of dipole moment is