So I recently asked a question about restricting which biomes appear in my world and I was wondering if there was a system or something similar that determined which biomes spawned in which order.
For example, Swamp biomes only seem to spawn between either Plains/Forest biomes, and Ocean biomes. Whereas Savannah biomes only seem to spawn close to Desert (and possibly Mesa) biomes.
Is there a system that determines where each biomes spawn? If so, what is it?