Sorts the given ResultItems by the rules specified in "options.sort".
Result of a query.
Optional
Options which define how the items are sorted.
A sorted copy of the given query result. If "options.sort" is not specified, the given items are returned unsorted.
Sorts the given ResultItems by the rules specified in "options.sort".