PermutationOrder
PermutationOrder[perm] gives the order of permutation perm.
Examples
Find the order of a permutation:
PermutationOrder[Cycles[{{1, 2, 3}}]]Order of a transposition:
PermutationOrder[Cycles[{{1, 2}}]]Something isn't working? Report an issue.
Please visit the official Wolfram Language Reference for more details.