I modified the project to just display lat/lon pairs for each pre-set location you have. And then calculated the distance from my location sensor (by the way, your code will be more efficient if you set the value of a variable to your calculate distance function rather than calling it multiple times for the same location).
For me, each location after the first (Garrett County Health Department) is farther than the previous location. So it appears it’s working correctly by stopping at the first location in the list. I’m guessing you’re not closest to that location when you test it…?
Here’s the debugging version I used:
https://x.thunkable.com/copy/2565118421ee0ddf348f01bdffa01ad0