sorting of an array in php by some chars
===

I havent enough knowledge about charachter encodin I use utf-8 I think. I have an array and I want to sort it bye alphapethicalli case intensively. I am doing that but I user some strings in array and some of them start with "ç,ı,ö,ğ" and they went to the end of the sorted array I want the sorting like abcç gğ oö ıi sş. I use it in joomla and if JArrayHelper::sortObjects is work for it how to use it I didnt understand what shoud I put for second parameter of it. Thaks for reading.