Location Based Profiles in List View?

I’m creating a simple app to where all of the users profiles are viewed in a list view and it shows the profiles closest to you… what steps do I need to take to do this?

Thank you

What’s mean “the profiles closest to you” – geo position or kind of interest?

Like what city/stae you live in