Flush function of uvm_in_order_class_comparator not working

In reply to Reuben:

Is it because I am creating a new item every time I’m pushing the item to the FIFO?