title: How to sort pandas dataframe based on row?
body: <p>I have a small pandas data frame which looks like this. Its a pandas dataframe.</p>
  <pre><code>   STUDENT_ID    RESULT
  1  Roll_1_name   Steve
  2  Roll_2_name   Jhon
  3  Roll_3_name   Maya
  4  Roll_4_name   Andy
  
  
  400 Roll_1_hobby Singing
  401 Roll_2_hobby Gardening
  402 Roll_3_hobby Swimming
  403 Roll_4_hobby Dancing
  
  
  700 Roll_1_result 100
  701 Roll_2_result 70
  702 Roll_3_result 90
  703 Roll_4_result 100
  </code></pre>
  <p>How to convert it like following using pandas. All should sorted like following.</p>
  <pre><code>   STUDENT_ID    RESULT
  1  Roll_1_name   Steve
  400 Roll_1_hobby Singing
  700 Roll_1_result 100
  
  2  Roll_2_name   Jhon
  401 Roll_2_hobby Gardening
  701 Roll_2_result 70
  
  
  3  Roll_3_name   Maya
  402 Roll_3_hobby Swimming
  702 Roll_3_result 90
  
  4  Roll_4_name   Andy
  403 Roll_4_hobby Dancing
  703 Roll_4_result 100
  </code></pre>