1. A method comprising: receiving a request from a first mobile device for a search for contacts meeting a criterion; searching a database of contacts for the contacts meeting the criterion and including the contacts meeting the criterion in search results; determining whether a second mobile device associated with one of the contacts meeting the criterion is within a vicinity of the first mobile device; and ranking the search results based on the determination.