It's called dramatic inversion. The structure is
negative adverbial e.g. nor, never, not only + auxiliary verb + subject + main verb.
In fact, after the negative adverbial, the word order is the same as for questions.
You can study this area of grammar in Advanced Grammar in Use (Cambridge), units 99 and 100.