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