How to sort contacts based on the number of times contacted? I Know both codes tried are wrong:
and
B4X:
'listofContacts is a list
listofContacts = Contacts2.GetAll(True,False)
listofContacts.Sort(Contact.TimesContacted)
B4X:
'listofContacts is a list
listofContacts = Contacts2.GetAll(True,False)
listofContacts.SortType("TimesContacted",True)