To ensure proper operations are performed, the ordering of rows and columns
within matrix operands must be consistent. Arrange conveniently performs
this ordering.
In the future, a comparator will be added so that custom orderings can be
applied to the function.