diff --git a/app/ui/legacy/src/main/java/com/fsck/k9/activity/compose/RecipientLoader.java b/app/ui/legacy/src/main/java/com/fsck/k9/activity/compose/RecipientLoader.java index c7f6ec84d..e2cf5893e 100644 --- a/app/ui/legacy/src/main/java/com/fsck/k9/activity/compose/RecipientLoader.java +++ b/app/ui/legacy/src/main/java/com/fsck/k9/activity/compose/RecipientLoader.java @@ -65,7 +65,9 @@ public class RecipientLoader extends AsyncTaskLoader> { private static final String SORT_ORDER = "" + ContactsContract.CommonDataKinds.Email.TIMES_CONTACTED + " DESC, " + ContactsContract.Contacts.SORT_KEY_PRIMARY + "," + - ContactsContract.CommonDataKinds.Email.IS_SUPER_PRIMARY + " DESC"; + ContactsContract.CommonDataKinds.Email.IS_SUPER_PRIMARY + " DESC, " + + ContactsContract.CommonDataKinds.Email.IS_PRIMARY + " DESC, " + + ContactsContract.Contacts._ID; private static final String[] PROJECTION_NICKNAME = { ContactsContract.Data.CONTACT_ID,