The trace of a matrix is defined to be the sum of its diagonal matrix elements
$$ Tr(\Omega) = \sum_{i} \Omega_{ii} $$
Show that $Tr(\Omega \Lambda \theta) = Tr(\Lambda \theta \Omega) = Tr(\theta \Omega \Lambda).$ You may recall that $\Omega, \Lambda,$ and $\theta$ are linear operators.
When seeing the solution of this problem that's what I did not understand: $$Tr(\Omega \Lambda \theta) = \sum_{i}(\Omega \Lambda \theta)_{ii} = \sum_{i}\sum_{j}\sum_{k}\Omega_{ij}\Lambda_{jk}\theta_{ki} = \sum_{j}\sum_{k}\sum_{i}\Lambda_{jk}\theta_{ki}\Omega_{ij} = $$ $$ \sum_{j}(\Lambda\theta\Omega)_{jj} = Tr(\Lambda\theta\Omega)$$
May someone explain how these passages from an equality to the other happened? I have no clue.
Thank you in advance!