An ordered basis for an n-dimensional vector space V is an n-tuple ##(e_1,\dots,e_n)## such that ##\{e_1,\dots,e_n\}## is a basis for V
The component n-tuple of a vector ##x## with respect to an ordered basis ##(e_1,\dots,e_n)## is the unique n-tuple of scalars ##(x_1,\dots,x_n)## such that ##x=\sum_{i=1}^n x_i e_i##.
The matrix of components of a linear operator ##A## with respect to an ordered basis ##(e_1,\dots,e_n)## is the n×n matrix [A] defined by ##[A]_{ij}=(Ae_j)_i##. (The right-hand side denotes the ##i##th component of ##Ae_j## with respect to ##(e_1,\dots,e_n)##). This matrix is diagonal if and only if the ##e_i## are eigenvectors of the linear operator ##A##.
Every matrix is the matrix of components of some linear operator, with respect to some ordered basis. To change the order of the non-zero numbers in a diagonal matrix, is to change the order of the vectors in the ordered basis. You end up with a representation of the same linear operator, with respect to a different ordered basis.