However, it is not sufficient to sort by distance, there has to be a balance between time and distance. For example, if the event is one 5 hours away but next door, its relevance shouldn't be higher than the one in 30 minutes 2km away.
i recommend to have this thing configurable.
should we use a slider set the relevance either for distance or time
<- ->
|--------------||--------|
time distance
Added the distance calculation.
However, it is not sufficient to sort by distance, there has to be a balance between time and distance. For example, if the event is one 5 hours away but next door, its relevance shouldn't be higher than the one in 30 minutes 2km away.