Based on this question Can't Re-Order Columns Data, how to do it for the dataframe row? because I have a problem, not in the column order but the row order.
my data looks like this:
B1 B2 B1 1 1 B10 1 1 B11 1 1 B12 1 1 B2 1 1 B20 1 1 B21 1 1 B22 1 1 B3 1 1 B30 1 1 B31 1 1 my expected result:
B1 B2 B1 1 1 B2 1 1 B3 1 1 B10 1 1 B11 1 1 B12 1 1 B20 1 1 B21 1 1 B22 1 1 B30 1 1 B31 1 1