I have to generate all 3-permutations of a the set $(x, y, z, w, u, t)$ without the ones where the element $u$ is after element $t$.
So far I have generated all the the 3-permutations like such
set = {x, y, z, w, u, t};
Permutations[set, {3, 3}];
but I can't figure a way to exclude the ones that satisfy the given condition. Thanks in advance
DeleteCases[Permutations[set, {3, 3}], {___, t, ___, u, ___}]
... $\endgroup$