I am working on a latitude/longitude distance search and am having trouble finding the closest results.
The issue is that I do 4 calculations and if I "ORDER BY", I get them sorted by first, then second, then third, then fourth value, as to be expected. What I need to do is find the...