# Change order of multiplication/composition in SymmetricGroup

How can I change the order of multiplication/composition of elements in the symmetric group?

Example:

```
sage: S=SymmetricGroup(4)
sage: a=S((1,2))
sage: b=S((2,3))
sage: c=S((3,4))
sage: a*b*c
(1,4,3,2)
```

How can I change this behavior so that I can execute `a*b*c`

and the output will be `(1,2,3,4)`

? I want to keep using the star `*`

, not an inconvenient command like `a.__rmul__(b).__rmul__(c)`

, otherwise I would have to rewrite all my code.

Related:

sage-devel, 2013-07, Products of permutations use nonstandard order of operation

Very nonstandard convention used in multiplying permutations

group multiplication seems to depend on order sometimes

fix left and right actions of permutations on matrices

Change order of multiplication/composition in SymmetricGroup

There is something like this:

`Permutations.global_options(mult='r2l')`

Thanks, but this command doesn't exist anymore. However, I tried

`Permutations.options(mult='r2l')`

, but it doesn't change the order, I still get`(1,4,3,2)`

.slelievre, thanks but is there any solution in the links you are providing? I just need a simple command to switch the behavior. It shouldn't be so complicated.