Did you know ... Search Documentation:
Predicate random_permutation/2