Comparator which compares two geographic positions given by coordinates by the distance between them along the earth's surface. It assumes the parameters are of the form '59.917516,10.757933', where the numbers are degrees latitude and longitude, respectively.
The computation simply assumes a sphere with a diameter of 6371 kilometers, so no particular geodetic model is assumed. WGS83 coordinates will work fine, while UTM coordinates will not work.
@since 1.0
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.