For a scalar $c$ and a matrix $A$, the expressions $cA$ and $Ac$ denote the same entrywise scalar multiple because the scalar field is commutative. This is a convention for scalar action, not a claim that arbitrary matrix products commute. If representing the scalar by an identity matrix, $(cI_m)A=A(cI_n)$.