.. _auto_curve_sort: *SORT POINTS* ============= Sorts the points of a curve along a chosen axis (X or Y) in ascending or descending order. Use this worker to reorder disordered curve data before further processing or plotting. When to use ----------- Classification: **process**. Tagged: ``ascending``, ``curve``, ``descending``, ``points``, ``reorder``, ``sort``, ``transform``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Curve - curve - vector - — - - Input curve (X/Y vector) whose points will be sorted; connect any curve output from an upstream worker. * - Choose Axis - axis_type - scalar - y - - Axis to sort by — 'y' (default) sorts on the Y values, 'x' sorts on the X values. * - Choose Axis - order - scalar - asc - - Sort direction — 'asc' (default) for ascending order, 'desc' for descending order. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - curve_sort_output_1 - curve_sort_output_1 - vector - Sorted curve with the same X/Y points as the input but reordered according to the selected axis and direction. Disciplines ----------- - data.curve.transform Runnable example ---------------- A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: `/api/workflow/example?id=curve_sort `_ .. raw:: html

Auto-generated from transformation schema. Worker id: curve_sort. Schema hash: acfe8803a598. Hand-curated docs in workerexamples/ override this page when present.