Implemented sortByStraightLine for Point.