Skip to end of banner
Go to start of banner

arrayStructSort

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Availability

This routine is available since katl-commons 3.0.1.

Syntax:

arrayStructSort(arr, field)

Description:

Sorts the elements from an array by their specified field. Works only with arrays that contain structures


Parameters:

Parameter name

Type

Required

Description

arr

array

Yes

The array, must be a struct array.

fieldstringYesThe field to be sorted by

Return Type:

array

See Also:

  • No labels