Randomizing an array of transactions

In reply to dave_59:

Can you help me with an example to implement an array of transactions?