Tried the following in python at work (Win7). I would have expected the same
result if case insensitive:
>>> import locale
>>> print locale.LC_COLLATE
1
>>> print locale.strcoll('a', 'Z')
1
>>> print locale.strcoll('A', 'z')
-1
Can you perhaps change to:
key=operator.attrgetter('title').lower() ?
--
https://code.launchpad.net/~googol-hush/openlp/mediaitem-sorting/+merge/61786
Your team OpenLP Core is subscribed to branch lp:openlp.
_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openlp-core
More help : https://help.launchpad.net/ListHelp