Python not sorting Unicode correctly
<pre><code>data = [unicode('č', "cp1250"),
        unicode('d', "cp1250"),
        unicode('a', "cp1250")]

data.sort(key=unicode.lower) 

for x in range(0,len(data)):
    print data[x].encode("cp1250")
</code></pre>

<p>and I get:</p>

<pre>
a
d
č
</pre>

<p>It should be:</p>

<pre>
a
č
d
</pre>

<p>Slovenia Alphabet goes like: a b c č d e f g.....</p>

<p>I'm using WIN XP(Active code page: 852 - Slovenia). Can you help me?</p>
