<?xml version="1.0" encoding="windows-1252"?>
<node id="866794" title="Re^8: perllocale weirdness, bug, or...?" created="2010-10-22 08:20:50" updated="2010-10-22 08:20:50">
<type id="11">
note</type>
<author id="600591">
Krambambuli</author>
<data>
<field name="doctext">
Thanks for the tip - I really hoped it might solve the issue, but unfortunately it does not.&lt;br&gt;&lt;br&gt;
For the file test.txt (TAB separated fields) being 
&lt;code&gt;
a_2     2
a2      1
&lt;/code&gt;

I still get

&lt;code&gt;
$ sort -k 1,1 test.txt | cut -f 1
a2
a_2
&lt;/code&gt;

whereas when there is no second field then the result is reversed,
&lt;code&gt;
a_2
a2
&lt;/code&gt;

Looks like the problem 'survives'.
&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;br&gt;---&lt;br&gt;

</field>
<field name="root_node">
866330</field>
<field name="parent_node">
866787</field>
</data>
</node>
