Random just “Picks a random element from the array”, but you might be able to use shuffle
instead:
prototype(Neos.NodeTypes:AssetList) {
assets = ${Array.shuffle(q(node).property('assets'))}
@cache {
# cache for one hour
maximumLifetime = '3600'
}
}