title: How can I sort a dataframe on a row rather than a column?
body: <p>I have a dataframe</p>
  
  <pre><code>    Albania Andorra Armenia Austria Azerbaijan
  2014    98.0    96.0    97.0    96.0    98.0
  2013    99.0    95.0    97.0    96.0    98.0
  2012    98.0    98.0    97.0    95.5    97.0
  2011    99.0    99.0    97.0    96.0    98.0
  2010    99.0    99.0    97.0    96.0    98.0
  </code></pre>
  
  <p>and I would like to sort the columns on the <code>2014</code> row.  So the resulting sort should have the columns as Albania, Azerbajain, Armenia, Andorra, Austria.</p>
  
  <p>I bet I could do it using <code>df.values</code> and then sorting the resulting ndarray, but could <code>df.sort_values</code> do this?  I tried <code>df.sort_values('2014',axis = 1)</code> but got the error <code>KeyError: '2014'</code>.</p>
  
  <p>closest I can get without using arrays is <code>f[f.ix['2014'].sort_values(ascending = False).index]</code></p>