IIRC, the default Sort uses the ASCII values of the characters, so the Turkish 
characters appear later in the alphabet than I and S.

 

You may need to use a custom compare function which includes functionality for 
the Turkish alphabet.

 

Gk. 

 

 

Hi everybody,

I'm also a newbie actionscript developer,  and i'm in trouble with sort 
function. I want to sort the array collection , it is successful with english 
characters, but when there is a turkish word beginning with  'İ', 'Ş',  it does 
not sort, putting these words at the end of the sorting. So i'm not able to do 
the right sorting. Any idea?

var sortField:SortField=new SortField(value);
                sortField.numeric=false;
                sortField.descending=false;
                var sort:Sort=new Sort();
                sort.fields=[sortField];
                xmlListColl.sort=sort;
                return xmlListColl.refresh();

Thanks all guys,,



Reply via email to