CGAL 5.6  2D and 3D Linear Geometry Kernel

AdaptableBinaryFunction
CGAL::compare_yx()
Operations  
bool  operator() (const Kernel::Point_2 &p, const Kernel::Point_2 &q) 
returns true iff the \( y\)coordinate of p is smaller than the \( y\)coordinate of q or if they are the same and the \( x\)coordinate of p is smaller than the \( x\)coordinate of q .  