From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I order the elements in an array from the smallest element to the biggest?

Solved!
Go to solution

For example: I want to convert a 1D array like [4,1,2,3] to a 1D array like [1,2,3,4]. How can I do that?

Sorry for the question but I am a beginner.

Thanks for the answers.

0 Kudos
Message 1 of 2
(2,234 Views)
Solution
Accepted by raditomi
Go to the array palette; there is a Sort function node.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 2
(2,231 Views)