Reorders the array along the specified axis.
the indices to reorder the array with
the axis to reorder along