```
Cursor cursor = contentResolver.query(Data.CONTENT_URI, null, "(" + Data.MIMETYPE + "=? OR " + Data.MIMETYPE+ "=?) AND " + Data.CONTACT_ID + " IN (SELECT " + Contacts._ID + " FROM contacts)", new String[] {Email.CONTENT_ITEM_TYPE, Phone.CONTENT_ITEM_TYPE  }, Data.CONTACT_ID);

```

I want to fetch my contacts in alphabetical order but this query fetches them in non-alphabetical order. i don't know where to attach asc order in this query.Please help