I use CursorLoader to query a result, which is not the order that I want to show in the ListFramgenet. How to sort it ?
I use this to set the adapter:
Just add ContactsContract.Contacts.SORT_KEY_PRIMARY.
ContactsContract.Contacts.SORT_KEY_PRIMARY