How to randomly pick a valid sequence_item and form a sequence

In reply to chr_sue:

Hi,

Can you give a basic example of how this could help me achieve the objective.
Any references should also be good.

Thanks
Bravo