Even though the columns and rows of the cayley table is unordered by convention, I think in order for my above mapping formalism of rows to rows to work properly, the rows and columns has to be considered to be ordered. (this is specified by how the cayley table is drawn, and the ordering will not be changed by any operations after it is specified)
Otherwise for example, if S={a,b,c} is unordered and a is a left identity, then multiplied a on the left of S should give aS={a,b,c}, but if S is unordered, then one can equally say aS={b,c,a} or {c,b,a} or any permutation of the elements in S