I am trying to download phone contacts and tried to show contact names in ascending order. My code is below:
Cursor cursor = getContentResolver().query( ContactsContract.Contacts.CONTENT_URI, null, ContactsContract.Contacts.HAS_PHONE_NUMBER + " = 1", null, ContactsContract.Contacts.DISPLAY_NAME + " ASC");
I got the required result. But the problem is that names looking with a small letter are shown as the last. First, the uppercase letters are sorted, only after that the contact names with small letters are displayed. Pls help
EXIT:
Alfin A Bipin B Calvin C Jobin Shine anurag U shine H
jennifer
source share