Here’s a small change to your macOS settings that you’ll thank me for. Go to Mission Control and uncheck the setting labeled “Automatically rearrange Spaces based on most recent use.”

Most of the time, when I’m changing a default macOS setting, I recognize that the default is good for most people and that I need an exception for reasons specific to me. However, this is one of those times where I really don’t approve Apple’s choice in defaults. Having spaces automatically rearrange makes it impossible to have an order to your spaces that you stick with and memorize. I didn’t know this setting existed until recently and I wish I’d disabled it years ago.