The sequence of pronouns before the verb is as follows:
me
te le
se Before la Before lui Before y Before en
nous les leur
vous
-Il m‘en a déjà parlé
-Il ne comprend pas encore la blague. Il faut la lui expliquer après tout.
After the verb, object pronouns normally occur in the same order as in English, but note the hyphens:
-Donnez-le-moi !