Total number of the words by the letters of the word
KUNDAN = 6*5*4*3*2*1/2*1=360
Denominator is due to the revision of N twice.
The correct order of these letters in English alphabets is A, D, K, N, N, and U
So rank of KUNDAN = (360/6)*2 + (60/5)*4 + (12/4)*2 + (6/3)*1 + (2/2)*0 + 1
= 120 + 48 + 6 + 2 + 0 +1
= 177