Here's a breakdown:
* a - this is the past participle of the verb "danser" (to dance)
* dansé - this is the past participle of the verb "danser" (to dance)
* en dernier - this means "last"
Example sentence:
* J'ai dansé en dernier. (I danced last.)
Let me know if you have any other questions!