Table Of Contents

Sort 1D Array (G Dataflow)

Last Modified: March 15, 2017

Returns a sorted version of an array with the elements arranged in ascending order. If the specified array is an array of clusters, the node sorts the elements by comparing the first elements. If the first elements match, the node compares the second and subsequent elements.



A 1D array of any type.

Data Type Changes on FPGA

When you add this node to a document targeted to an FPGA, this input has a default data type that uses fewer hardware resources at compile time.


sorted array

array sorted in ascending order.

Sorting String Arrays

Sort 1D Array sorts string arrays based on case-sensitivity. For example, if array is {b, C, A}, Sort 1D Array returns {A, C, b} for sorted array.

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices

Recently Viewed Topics