Hi and welcome back 🙂
I wish I had a better answer, but we don’t have a readily available snippet nor a setting which allows events to be sorted prioritized by distance over event start date. We’ve got a list of customizers available for hire that might be able to help out.
Another idea would be to visit our UserVoice Feature Ideas to see if it’s been submitted. If not, feel free to do so! We’re always picking the most popular ideas to incorporate into upcoming feature releases.
Again, sorry I don’t have a solution to help right away and best of luck with the customizations. Have a great upcoming weekend.
Cheers!