To clarify I want to have something like this:
A1 Successful order
A2 Successful order
A_FAILED Failed order
A_FAILED Failed order
A3 Successful order
A4 Successful order
Failed orders may have same names, or have different, or have no name, the main thing that Successful orders should by sequential