Sort 1D Array function: Difference between revisions
Appearance
mNo edit summary |
Added history |
||
| Line 4: | Line 4: | ||
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. | ||
{{TOCright}} | |||
== Usage == | == Usage == | ||
| Line 15: | Line 16: | ||
* To sort an array in descending order connect the output of '''Sort 1D Array''' to '''[[Reverse 1D Array function|Reverse 1D Array]]'''. | * To sort an array in descending order connect the output of '''Sort 1D Array''' to '''[[Reverse 1D Array function|Reverse 1D Array]]'''. | ||
* For two-dimensional arrays use '''[[Sort 2D Array function|Sort 2D Array]]''' | * For two-dimensional arrays use '''[[Sort 2D Array function|Sort 2D Array]]''' | ||
== History == | |||
{| class="wikitable" | |||
! Version | |||
! Change(s) | |||
|- | |||
|[[File:LV2020SP1.png|frameless|border|64x64px|LabVIEW 2020|link=LabVIEW 2020]] | |||
| In [[LabVIEW 2020|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 == | |||
{{ambox|text=Add links to internal resources that would also help.}} | |||
== External Links == | |||
{{ambox|text=Add links to external resources that would also help.}} | |||
[[Category:Array Palette]] | [[Category:Array Palette]] | ||
Revision as of 18:12, 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. |
