BUG: fix sort_index with one col and ascending list
Fixes #4839.

now actually checks the first element of the list

@jburroni this should fix your issue - can you try it?
 It is working.
 @jburroni okay, I'm glad I could fix this quickly. I will merge this in the next day or so.

Thanks for reporting this!
 Thank you for fixing it so fast
 @jtratner I think you need a test case where the len of the ascending list is not the same as the length of the sort keys (not sure what happens now), e.g. it should be == in length, or a scalar
 agree!

On Mon, Sep 16, 2013 at 10:06 AM, jreback notifications@github.com wrote:

> @jtratner https://github.com/jtratner I think you need a test case
> where the len of the ascending list is not the same as the length of the
> sort keys (not sure what happens now), e.g. it should be == in length, or a
> scalar
> 
> —
> Reply to this email directly or view it on GitHubhttps://github.com/pydata/pandas/pull/4846#issuecomment-24508071
> .

## 

" To be is to do " ( Socrates )
" To be or not to be " ( Shakespeare )
" To do is to be " ( Sartre )
" Do be do be do " ( Sinatra )
