StructSort
Sorts a struct according to the specified arguments and returns an array of struct keys
Method Signature
Arguments
Argument | Type | Required | Description | Default |
---|---|---|---|---|
|
|
| The struct to sort | |
|
|
| An optional sort type to apply to that type - if a callback is given in this position it will be used as that argument |
|
|
|
| The sort order applicable to the sortType argument |
|
|
|
| ||
|
|
| An optional callback to use as the sorting function. You can alternatively pass a Java Comparator. |
Examples
Related
Last updated