If you have a scala collection, you can re-arrange the items at random
import scala.util.Random
val randomized = Random.shuffle(domains)
If you have a scala collection, you can re-arrange the items at random
import scala.util.Random
val randomized = Random.shuffle(domains)