title: Sorting Multi Index in Pandas differently for each level
body: <p>I have a dataframe with an index of 3 levels. I need to sort the index by each level but in different ways. What can achieve this?</p>
  
  <p>Have a dataframe (<code>df</code>) as:</p>
  
  <pre><code>                     other columns
  color shape    count              
  red   circle   1                 x
        triangle 3                 x
                 2                 x
  blue  circle   4                 x
        triangle 2                 x
  </code></pre>
  
  <p>and I want a new <code>df</code> where <code>color</code> is sorted <code>ascending</code>, <code>shape</code> is <code>descending</code>, and <code>count</code> is <code>ascending</code>:</p>
  
  <pre><code>                     other columns
  color shape       count              
  blue  triangle    2                 x
        circle      4                 x
  red   triangle    2                 x
                    3                 x
        circle      1                 x
  </code></pre>