title: In Python, how to sort a dataframe containing accents?
body: <p>I use sort_values to sort a dataframe. The dataframe contains UTF-8 characters with accents. Here is an example:</p>
  
  <pre><code>&gt;&gt;&gt; df = pd.DataFrame ( [ ['i'],['e'],['a'],['é'] ] )
  &gt;&gt;&gt; df.sort_values(by=[0])
     0
  2  a
  1  e
  0  i
  3  é
  </code></pre>
  
  <p>As you can see, the "é" with an accent is at the end instead of being after the "e" without accent.</p>
  
  <p>Note that the real dataframe has several columns !</p>