Creating an XMLIN configuration > Managing patterns, blocks, and fields > 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. You can specify sort criteria for all main blocks and sub-blocks in the XMLIN configuration.
To specify sort criteria for the main 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 in which data will be delivered changes when sort criteria is specified for the blocks.
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