This is a sentence from "La Forma de la Espada", by Borges:
Entonces yo volví, derribé de un golpe al soldado, sacudí a Vincent Moon, lo insulté y le ordené que me siguiera.
I think I understand the theory of direct/indirect pronouns, but I don't understand the usage in this sentence. Why is Vincent Moon the direct object in "lo insulté", but then the indirect object in "le ordené".