Info | ||
---|---|---|
| ||
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. |
field | string | Yes | The field to be sorted by |
...