Is there a way to sort contacts by date added, or at least see contacts that have been recently added? I'm running android os 2.2.
This is useful if you want programmatic and CLI access to your contacts in sorted order.
If you're on Android then most probably your phone contacts are synced with your Google account's contacts which you can access using Google Contacts. Now, using the Google Command Line Tools you can return contacts in order of filing if no other sort method is set.
For example, use the following command to get all contacts in a text file in recently added order:
google contacts list ".*" > output.txt
As most of the applications mentioned did not work anymore two approaches worked for me now (Aug 2020):
- Recent contacts app: https://play.google.com/store/apps/details?id=ibtidah.tav.reco
- Following the approach of Owen Miller on Quora (https://www.quora.com/Is-it-possible-to-organize-Google-contacts-by-date-added) just getting the results via the api explorer at https://developers.google.com/oauthplayground/ and using the api url https://www.google.com/m8/feeds/contacts/default/full?max-results=25&start-index=1&orderby=lastmodified&sortorder=descending
Update 2022-03 Contacts API is being deprecated. Migrate to People API to retain programmatic access to Google Contacts. See https://developers.google.com/people/contacts-api-migration.
Steps to use the api:
- Open the playground website: https://developers.google.com/oauthplayground/
- Open Step 1, expand "People API v1" and click the url below (https://www.googleapis.com/auth/contacts) then the blue button "Authorize APIs" (login with your Google account if not done already and grant permissions)
- Open Step 2 and just click the blue button "Exchange authorization code for tokens"
- Open Step 3 and put the url
https://people.googleapis.com/v1/people/me/connections?pageSize=25&sortOrder=LAST_MODIFIED_DESCENDING&personFields=names,metadatainto the "Request URI" field and click the blue button "Send request"
- Find your results on the right in the "Request / Response" textarea.
pageSize=25limits the shown contacts to 25
sortOrder=LAST_MODIFIED_DESCENDINGsorts the results by last modified date, descending
personFields=names,metadatalimits the returned results to contain only names and metadata [plus basic info]
- https://developers.google.com/people/api/rest/v1/people.connections/list for parameters
- https://developers.google.com/people/api/rest/v1/people.connections/list#SortOrder for possible sort options.
Short answer: I made an app for this called Quis, and would love to hear if it solves your problem :)
Longer answer: Android doesn't save the date you added contacts, unfortunately. However, there is a trick: you can sort contacts by their "raw ID" in the database, which roughly increase over time. It's not perfect, meaning that it will more or less work for recent contacts, but definitely won't work for contacts added years ago since a lot of things probably happened since then – new phone, Google merging/syncing contacts, and various third-party apps messing with the contacts database.
I wanted this so badly I actually made an app for it. It stores the date and location of newly added contacts, and also uses the above trick for contacts added before using the app. Would love to hear your thoughts!
I suppose it might vary by carrier, but I only see options to sort by first or last name. (Motorola Droid, unrooted, Android 2.2.1)
I also don't see any apps in the Market that would display contacts sorted by date added.
I'm not even sure "date added" is captured.
If you're syncing with Google Contacts you might be able to kludge something together by applying a group to all of you existing contacts ("Old Contacts"?) then, whenever you review your contacts anyone without such a label is, by definition, recently added.
It is, as I said, kludgy. I don't see any other way to do it.