Sort 1D Array function: Difference between revisions
Appearance
Added history |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Array{{!}}Array palette|type=function|icon=Sort 1D Array.png}} | {{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Array{{!}}Array palette|type=function|icon=Sort 1D Array.png}} | ||
The '''Sort 1D Array''' function takes a one-dimensional array and sorts it in ascending order. | The '''Sort 1D Array''' function takes a one-dimensional array and sorts it in ascending order. | ||
[[File:Sort 1D Array - Terminals.png|thumb|Sort 1D Array function]] | |||
{{TOCright}} | {{TOCright}} | ||
Revision as of 18:31, 8 March 2021
| Object information | |
|---|---|
| Owning palette(s) | Array palette |
| Type | Function |
| Requires | Basic Development Environment |
| Icon | |
The Sort 1D Array function takes a one-dimensional array and sorts it in ascending order.

Usage
Connect a one-dimensional array to the array input. The output array will be sorted in ascending order.
Best practice
- To sort an array in descending order connect the output of Sort 1D Array to Reverse 1D Array.
- For two-dimensional arrays use Sort 2D Array
History
| Version | Change(s) |
|---|---|
| In LabVIEW 2020 SP1, the Sort 1D Array function was replaced on the palette with the Sort 1D Array VI. The Sort 1D Array function continues to exist but is no longer accessible from the palette. |
See Also
| |
Add links to internal resources that would also help. |
External Links
| |
Add links to external resources that would also help. |
