Spaces constantly rearranging themselves on macOS is a blight, and I finally thought to check if there’s a setting. Finally, sanity. 😮‍💨

Settings window shows “Desktop & Dock” preferences on macOS, featuring toggle options for window and space management. A red arrow highlights “Automatically rearrange Spaces based on most recent use."