Sort by Distance isn't straight forward.
Each distance is only ever calculated when the line is being displayed, so there's no way to order by it.
I could put all the results into a work table first & then use that to display from instead. I'll have a look at doing that some time.
Sorry about the earlier one about fuel prices not being answered, I missed it.
My database doesn't hold current prices, only what it was when someone last bought fuel there (if anyone has yet).
I doubt that's much use, but let me know if it would be.
Anyhow aren't we all stinking rich enough to not care?

DM