Object -
streams :
MergeSort
This object implements the merge sort algorithm to sort the provided value arrays. fieldFuncs
are function pointers
which returns the field values of each stream event's data
map's values. sortTypes
are an array of (
streams:ASCENDING or streams:DESCENDING).
Sorts the given stream events using the merge sort algorithm.
Parameters
- events StreamEvent[]
-
The array of stream events to be sorted.