I am wondering if there is a way to rearrange the order of rows in my data frame the following way. Currently, my multi-index data frame looks like this: current order of rows in data frame
However, I would like to change the order to this: preferred order of rows in data frame
Is there any way how I could change the order efficiently so it is applied to the entire dat frame?