Matrix multiplication

$AB$ is the matrix of doing $B$ first and then $A$, so its columns are $A$ times the columns of $B$, and since the order of two moves matters, $AB$ and $BA$ usually differ.

From Linear Algebra.