Techniques of reordering traces in the event logs in business process management tasks