title: sort dataframe alphabetically
body: <pre><code>birth_data.sort_values(by='name',ascending = True) 
  </code></pre>
  
  <ul>
  <li>name      numbers
  
  <ol start="2">
  <li>bruh     96570</li>
  <li>gib      95095</li>
  <li>mel      115195</li>
  <li>nish     112055</li>
  <li>raw      88018</li>
  </ol></li>
  </ul>
  
  <p>I can sort the "numbers" but if i replace it with "name" I receive an error. </p>
  
  <pre><code>KeyError                                  Traceback (most recent call last)
  ~\Anaconda3\lib\site-packages\pandas\core\indexes\base.py in get_loc(self, key, method, tolerance)
     2441             try:
  -&gt; 2442                 return self._engine.get_loc(key)
     2443             except KeyError:
  
  pandas\_libs\index.pyx in pandas._libs.index.IndexEngine.get_loc()
  
  pandas\_libs\index.pyx in pandas._libs.index.IndexEngine.get_loc()
  
  pandas\_libs\hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()
  
  pandas\_libs\hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()
  
  KeyError: 'name'
  
  During handling of the above exception, another exception occurred:
  </code></pre>