Working with Multi-dimensional uvm_queue

In reply to dave_59:

Thanks Dave, this solved my issue.
BTW, is it possible to replace the for loop with foreach loop ?
What is the syntax ?