<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def reshape_fortran(tensor, shape):
 """The missing Fortran reshape for mx.NDArray Parameters tensor : NDArray source tensor shape : NDArray desired shape Returns ------- output : NDArray reordered result """

    return tensor.T.reshape(tuple(reversed(shape))).T