I guess there's more than one way to invert something.
Assume the normal arrangement is for the subject to come first and the verb to come sometime later. To invert this order would be to reverse it (not place it upside down).
I have never in my life been so scared.
Never in my life have I been so scared.
That's not a very good example, because the subject "I" is mixed into the verb "have been."
Goldilocks sleeps in the mama bear's bed.
In the mama bear's bed sleeps Goldilocks.
The wind howled outside the cabin.
Outside the cabin howled the wind.