How can I stop Mission Control rearranging windows when I drag a window and press CTRL+number?
Go to System Preferences → Mission Control and make sure that the checkbox for Automatically rearrange Spaces based on most recent use is disabled.



I am able to reproduce your scenario perfectly with this checkbox enabled and disabling this checkbox causes the spaces to be fixed in their position regardless of the switching of window position.