I have been working on an iPhone app, where-in i have list of users in a NSMutableArray like below.
myMutableArray: ( { FirstName = Getsy;
You can calculate the distance (geographical, not flat plane!) between your position and each of these items' positions and order by that value.