I was convinced there was a bug with OS X Spaces on Ventura or Command-Tab Plus. My spaces were constantly not what I remembered.

Turns out, I forgot to enable this option which keeps them from moving around.

Option settings for OS X spaces feature