If A = [[2, 1, 4], [4, 1, 5]] and B = [[3, -1], [2, 2], [1, 3]]. Write the orders of AB and BA.