<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Sorry for my last post, I missed some reply. I think that I understood now the problem. Using TStringList.Sort, it uses AnsiCompareStr which needs a specific widestring manager to be defined. This is done adding the unit cwstring in the program unit (the .lpr using Lazarus). A better option, if executable size is not a concern, is to use fpwidestring, but it requires fpc 2.7.1 or more. Basically, the widestring support international characters, however this support affects characters that could be thought of as Char such as the sign « = «. A good help page is there: <a href="http://wiki.freepascal.org/Character_and_string_types" class="">http://wiki.freepascal.org/Character_and_string_types</a>. Please correct if I’m wrong.<div class=""><br class=""></div><div class=""><div class="">I thank you all again for your kind help,</div><div class="">Gilles Marcou</div></div></body></html>