# Float[].SortUsing (gb)

Function **SortUsing** ( __Order__ As Array **[** , __Mode__ As Integer **]** ) As Float[]

Desde 3.13

Sort the array using the order defined by the __Order__ array.

In other words, sort the array by using the substitution generated by __Order__.Sort(__Mode__)

.

The two arrays must have the same number of elements, otherwise an error is raised.

Note that the SortUsing method has to create a temporary integer array of the same size as the sorted array.

If your array is big, the required memory cannot be neglected.

### See also