public final ListType shuffle(Random random) {
        ArrayList<Type> shuffled = new ArrayList<>(items);
        Collections.shuffle(shuffled, random);
        return constructor.apply(shuffled, false);
    }
Returns the items in this shuffled using random as source of randomness
vespajlib/src/main/java/com/yahoo/collections/AbstractFilteringList.java