title: Change rows order pandas data frame
body: <p>I have the following data frame in <code>pandas</code> in <code>python3</code>:</p>
  
  <pre><code>               +------------------------------+
                 | total_sum | percent_of_total |
  +--------------+------------------------------+ 
  | Group        |           |                  |
  +--------------+------------------------------+     
  | 11-          | 99435     | 0.255880         |
  +--------------+-----------+------------------+
  | Bachelor+    | 64900     | 0.167010         |
  +--------------+-----------+------------------+
  | Just 12      | 162483    | 0.418124         |
  +--------------+-----------+------------------+
  | Some College | 61782     | 0.158986         |
  +---------------------------------------------+
  </code></pre>
  
  <p>And I want to change the order of the rows including the indexes like so...</p>
  
  <pre><code>               +------------------------------+
                 | total_sum | percent_of_total |
  +--------------+------------------------------+ 
  | Group        |           |                  |
  +--------------+------------------------------+     
  | 11-          | 99435     | 0.255880         |
  +--------------+-----------+------------------+
  | Just 12      | 162483    | 0.418124         |
  +--------------+-----------+------------------+
  | Some College | 61782     | 0.158986         |
  +--------------+-----------+------------------+
  | Bachelor+    | 64900     | 0.167010         |
  +--------------+-----------+------------------+
  </code></pre>
  
  <p>I have tried to use <code>.sort_index(['11-', 'Just 12', 'Some College', 'Bachelor+'])</code> and I get the following error... <code>TypeError: unhashable type: 'list'</code>. So looks like pandas sort these indexes by alphabetic order. How can I re-order the rows?</p>