Added some logic to sort places based on the distance to the current location.