bjorn2404 / jQuery-Store-Locator-Plugin

A store locator plugin using Google Maps API version 3
MIT License
493 stars 235 forks source link

SortBy - Only sort storeLimit results? #263

Open chrisblandford opened 4 years ago

chrisblandford commented 4 years ago

Hi - I'm trying to use the sortBy option. I've gotten the Locator to sort based on a property, but it sorts all available records first and then lists the results by distance.

Is it possible to do the opposite? To sort the right-side map results based on a property, after everything else has already been completed? ie. Can I sort by distance first, then by the sortBy property?

(I apologize if that wasn't explained well...)

Thanks!