sort points by y