title: Python - How to sort except one index
body: <pre><code>columns=['NAME', 'AB', 'H']
  import pandas as pd
  df = pd.DataFrame([['Harper', '10', '5'], ['Trout', '10', '5'], ['Ohtani', '10', '5'], ['TOTAL', '30', '15']], columns=columns)
  df1 = df.sort_values(by='NAME') 
  print(df1)
  </code></pre>
  
  <p>the result is</p>
  
  <pre><code>     NAME  AB   H
  
  0  Harper  10   5
  2  Ohtani  10   5
  3   TOTAL  30  15
  1   Trout  10   5
  </code></pre>
  
  <p>I want to sort the dataframe except index of 'TOTAL'.</p>