We generally invert subject and auxiliary verb, including dummy DO, when the clause begins with a negative or restrictive expression: Never have I seen such a beautiful sight. Hardly had he sat down when the door flew open. Little did I think what difficulties this would cause.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.