Hello @mzaid ,
what are you asking is a “shuffle cards” problem.
You can resolve it reading this post: Card Shuffling Function - #2 by Lizard-13
or (I hope) using the Object stack extansions ( I never use it but the extension description seems to help you)
regards,
J