Pandas sort() ignoring negative sign
<p>I want to sort a pandas df but I'm having problems with the negative values.</p>

<pre><code>import pandas as pd
df = pd.read_csv('File.txt', sep='\t', header=None)

#Suppress scientific notation (finally)
pd.set_option('display.float_format', lambda x: '%.8f' % x)

print(df)
print(df.dtypes)
print(df.shape)

b = df.sort(axis=0, ascending=True)
print(b)
</code></pre>

<p>This gives me the ascending order but completely disregards the sign.</p>

<pre><code>SPATA1 -0.00000005
HMBOX1  0.00000005
SLC38A11 -0.00000005
RP11-571M6.17  0.00000004
GNRH1 -0.00000004
PCDHB8 -0.00000004
CXCL1  0.00000004
RP11-48B3.3 -0.00000004
RNFT2 -0.00000004
GRIK3 -0.00000004
ZNF483  0.00000004
RP11-627G18.1  0.00000003
</code></pre>

<p>Any ideas what I'm doing wrong?</p>

<p>Thanks</p>