With Einstein notation you're writing scalar or components of vectors or tensor in general (referred to a base that you should always care about, even if you don't explicitly write it) of tensors as the sum of products of the components of other vectors/tensors
Commutation holds for product, so order is not important when using Einstein notation.
As an example, evaluating the dot product $\mathbb{A} \cdot \mathbb{B}$ of two 2nd-order tensors,
\begin{equation}
\mathbb{A} = a^{11} \mathbf{b}_1\mathbf{b}_1 + a^{12} \mathbf{b}_1\mathbf{b}_2 + a^{21} \mathbf{b}_2\mathbf{b}_1 + a^{22} \mathbf{b}_2\mathbf{b}_2 = \sum_{i,j = 1}^{2} a^{ij} \mathbf{b}_i \mathbf{b}_j \\
\mathbb{B} = b_{11} \mathbf{b}^1\mathbf{b}^1 + b_{12} \mathbf{b}^1\mathbf{b}^2 + b_{21} \mathbf{b}^2\mathbf{b}^1 + b_{22} \mathbf{b}^2\mathbf{b}^2 = \sum_{i,j = 1}^{2} b_{ij} \mathbf{b}^i \mathbf{b}^j
\end{equation}
you get the 2-nd order tensor
\begin{equation} \begin{aligned}
\mathbb{A} \cdot \mathbb{B} =
& \left( a^{11} b_{11} + a^{12} b_{21} \right) \mathbf{b}_1 \mathbf{b}^1 + \\
& \left( a^{11} b_{12} + a^{12} b_{22} \right) \mathbf{b}_1 \mathbf{b}^2 + \\
& \left( a^{21} b_{11} + a^{22} b_{21} \right) \mathbf{b}_2 \mathbf{b}^1 + \\
& \left( a^{21} b_{12} + a^{22} b_{22} \right) \mathbf{b}_2 \mathbf{b}^2 = \\
= & \sum_{i,j=1}^{2} \sum_{k=1}^{2} a^{ik} b_{kj} \mathbf{b}_i \mathbf{b}^j \ ,
\end{aligned} \end{equation}
or, shortly and keeping in mind the base you're referring to, using Einstein notation
\begin{equation}
= a^{ik} b_{kj} \ .
\end{equation}
As you can see, each component is the sum of products of 2 (here) scalars, and the result doesn't change if you switch the order of the factors.
Edit: explicit evaluation of the product with explicitly writing the base vectors. This edit may complete the answer.
Let's evaluate the product $\eta \hspace{-4pt} \eta \cdot \mathbb{A} \cdot \eta \hspace{-4pt} \eta$, where
\begin{equation}
\mathbb{A} = A^{ik} \mathbf{b}_i \mathbf{b}_k \ , \ \
\eta \hspace{-4pt} \eta = \eta_{lm} \mathbf{b}^l \mathbf{b}^m \ .
\end{equation}
The product reads
\begin{equation}
\begin{aligned}
\eta \hspace{-4pt} \eta \cdot \mathbb{A} \cdot \eta \hspace{-4pt} \eta & = \left( \eta_{lm} \mathbf{b}^l \mathbf{b}^m \right) \cdot \left( A^{ik} \mathbf{b}_i \mathbf{b}_k \right) \cdot \left( \eta_{pq} \mathbf{b}^p \mathbf{b}^q \right) = \\
& = \eta_{lm} A^{ik} \eta_{pq}
\mathbf{b}^l \underbrace{\mathbf{b}^m \cdot \mathbf{b}_i}_{\delta^m_i} \underbrace{\mathbf{b}_k \cdot \mathbf{b}^p}_{\delta_k^p} \mathbf{b}^q = \\
& = \eta_{li} A^{ik} \eta_{kq} \mathbf{b}^l \mathbf{b}^q \ .
\end{aligned}
\end{equation}