Bandbaz, if you have a Sort routine that works for Farsi or any other languages, I will add it to my code as well. My hope is that I can get enough GOOD code that I can post it in the Wiki where people can add or correct it. Even if they don't need all of the code, they will be able to copy the pieces that they need and have some hope that it will work correctly. I had no idea it was this difficult to sort for different languages. But the strangest part is the different controls in Lazarus give different sort results for the same language.