Creating a StreamIN configuration > Managing blocks and fields > Managing blocks > Sorting

Sorting
You can use sort criteria to specify the order in which data will be delivered to the subsequent Processes. If no sort criteria is used, data will be delivered in the same order as it arrives. Performance will be less affected if data is sorted at Event level, compared to sorting at Process level.
You specify the sort criteria by assigning priorities to blocks. Data associated with blocks with the highest priority will be delivered first, and so on.
To specify sort criteria for Parent-level blocks
1
Select the Message node in the Message tree. The Message properties are displayed in the Properties view.
2
Set Use block sort priority to Yes.
3
4
Set the Block sort priority level. The lower the number, the higher the priority.
5
To specify sort criteria for sub-blocks within a block
1
2
Set Use block sort priority to Yes.
3
4
Set the Block sort priority level. The lower the number, the higher the priority.
5
Sorting examples
The following examples illustrate how the order of the output from an Event changes when sort criteria is specified for the main blocks in the Event.
Example 10
All blocks have sort priority set to 0. Output is delivered in the same order as it arrived.Click to enlarge
 
 
Example 11
The blocks have sort priority set to 1, 2, and 3. Output is delivered in this order.Click to enlarge
 
 
OpenText StreamServe 5.6 Updated: 2013-03-01