making generate_site_pp deterministic by sorting roles so the test is more stable