I know how to fetch all contacts as well as how to fetch the favorited contacts. Is there a way to combine the two and sort by favorites?
getContentResolver().query(ContactsContract.CommonDataKinds.Phone.CONTENT_URI, null, "starred=?", new String[] {"1"}, <sort by favorites?>);