/* Sorts the X values while keeping the matching Y values. */ static VALUE function_sort(VALUE self) { return function_joint_sort(self,get_x_vector(self), get_y_vector(self)); }