1. sort the category by distance with the closest pois first 2. limit the number of records from that set by a configurable number 3. present the result in that order, since you typically are interested in pois near your location