Inversion means putting the verb before the subject. It is a literary technique in which the normal order of words is reversed, generally for emphasis or special effect.
Hardly had I begun to speak when I was interrupted.
No sooner had I arrived than they all started to argue.
Songs that contains the expression