function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
DemiraliDemirali 

Sorting Non-English characters

Hello, I am trying to sort accounts alphabetically but nont-english characters are placed at the end. 

Any idea on how to fix it? 

Characters are ç,ö,ü,ş,Ç, Ö, Ü, Ş

 

public class propinReferences {

    public list<Account> getReferenceaccounts() {
        return[SELECT Id, Name, Short_Name__c, Logo__c, Logo_URL__c, AccountNumber FROM Account where gecmis_musteri__c = :true order by Name asc ];
    }

}

 

Avidev9Avidev9
I guess you have to use custom list sorting for this.

Have a look at this link http://www.salesforce.com/us/developer/docs/apexcode/Content/langCon_apex_collections_lists.htm#list_sobject_sorting