class="resources"
Sorts an array of complex numbers in ascending or descending order with respect to real and imaginary parts or magnitude.

![]() |
Complex Numbers contains the complex numbers to sort. | ||||
![]() |
order specifies in what order the VI sorts Complex Numbers.
|
||||
![]() |
method specifies the sorting criteria.
|
||||
![]() |
Sorted Complex Numbers returns the complex numbers sorted according to order. | ||||
![]() |
Sorted Index returns for each element of Sorted Complex Numbers the corresponding index in Complex Numbers. | ||||
![]() |
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |