If A is 2×3 matrix and B is a matrix such that A^T B and BA^T both are defined, then what is the order of B?