See post from nass600
tl;dr: Disable System Preferences > Desktop & Dock > Mission Control > Automatically rearrange Spaces based on most recent use
System Preferences > Desktop & Dock > Mission Control > Automatically rearrange Spaces based on most recent use