How does UVM Comparator works?

In reply to cgales:

Hi cgales,

Thank you.
For out of order transactions, do you have any suggestions on how to do it?

What I did is, I have an array in the scoreboard and then I store the data there using the addr as the index.

Do you have a better way of doing it?