Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info
titleAvailability

This routine is available starting with katl-commons 3.0.1.

...

Excerpt

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

...