I think they seem reversed, because double s is dessert yet when pronounced des-sert, what is said is the sand biome. Yet the "litter box" is spelled desert, but de-sert is how the treat after dinner is pronounced. In other words, they seem reversed because they're reversed.