The article describes the architecture of the data sorting and aggregation module for the triggerless
high energy physics experiment data acquisition.
The described module is able to revert shifts in the input data order, which are introduced by the
detector readout modules. The sorted data is aggregated into a single stream and then divided into
packages containing samples acquired in consecutive time intervals.
The presented article describes the usage of the heap sorting algorithm for restoring the correct
data order. Data stream aggregation techniques, used in the presented module, are described.
The paper contains a block diagram of the presented module and resource utilization summary
generated after implementation.