revert back to sorting by distance.
Merge pull request #181 from wbprice/develop

revert back to sorting by distance.