@Airy I didn't know 'output of URL' have some meaning in technical language. I didn't mean that kinda output. After I bumped into this post, i started realising what your macro is about. I have one question for you.
what does this action do from your macro?
@_jims hello, nice to see you again. I remember you from your expertise in apple shortcuts. Thanks for your input. It gave me error when I tried the macro you shared. Here's the screenshot of the error:
Apparently I seem to be able to imagine a solution now. I bumped into this post and figured out a way to randomise the order (see the screenshot below).
Following is the only point I am yet to find answer to. May be some another time, with a fresh post as my problem has been solved temporarily.