compare

fun compare(l: MPoint, r: MPoint): Int
fun compare(lx: Double, ly: Double, rx: Double, ry: Double): Int