Below is my data.
TX Subj W1 W2 W3 W4
0B C2 33.1 32.9 35.6 35.9
1A B12 22.5 22.2 21.9 22.6
1A B10 22.4 22.1 21.6 22.9
1B A6 28.7 29.1 28.6 29.8
0B C1 30.7 32.1 35.4 36.1
0A C4 39.6 39.8 42.9 43.4
0A B4 42.7 41.4 44.1 43.9
1A C6 31.5 31.8 34.4 33.4
0A D7 23.4 26.3 29.7 29.4
1A D2 31.6 27.8 30.2 30.5
1B A20 21.7 21.8 22.3 23.7
1C A1 34.7 34.8 34.6 38.3
1A C5 27.5 28.1 29.1 28.4
I would like to sort this data in this specific order '0A', '1A', '0B', '1B', '1C'. I could use the sort_index. But it gave me sorting data in the ascending order (0A, 0B, 1A, 1B, 1C).
Which function should I use to sort this data by the specific order?