[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Sort the output events, using the provided group-by keys for evaluating grouped aggregation functions, and avoiding the cost of recomputing the keys.

Namespace: net.esper.eql.core
Assembly:   NEsper (in NEsper.dll)

Syntax

Visual Basic (Declaration)
Function Sort ( _
	outgoingEvents As EventBean(), _
	generatingEvents As EventBean()(), _
	groupByKeys As MultiKey(Of Object)() _
) As EventBean()
C#
EventBean[] Sort (
	EventBean[] outgoingEvents,
	EventBean[][] generatingEvents,
	MultiKey<Object>[] groupByKeys
)
Visual C++
array<EventBean^>^ Sort (
	array<EventBean^>^ outgoingEvents, 
	array<array<EventBean^>^>^ generatingEvents, 
	array<MultiKey<Object^>^>^ groupByKeys
)

Parameters

outgoingEvents
net.esper.events.EventBean[]
the events to sort
generatingEvents
net.esper.events.EventBean[][]
the events that generated the output events (each event has a corresponding array of generating events per different event streams)
groupByKeys
net.esper.collection.MultiKey<(Of T>)[]
the keys to use for determining the group-by group of output events

Return Value

an array containing the output events in sorted order