17 + files.sort(key=lambda filename: unicode(filename), cmp=locale.strcoll)
Be aware that a lambda can make things extremely slow. An external function can be quicker at times. -- https://code.launchpad.net/~m2j/openlp/smallfix/+merge/62034 Your team OpenLP Core is requested to review the proposed merge of lp:~m2j/openlp/smallfix into 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

