It's called inversion. That term applies to the word order, so googling for inversion will give you examples of forming questions, not just what you want. I have dealt with inversion caused by initial negative words in sentences CB
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.