Inversion of Word Order for Emphasis
Inversion can be used to form questions and conditional sentences, but it can also be used for emphasis.
Little did she know how much work was left.On no account must you sleep at school.Never should you forget who your boss is.Only then can you belong to me.Here comes the sun.
All these structure are rather literary, which means they are more likely to appear in books.
Read further or you can check your understading here.