Regarding Random Number Genration

HI

please help me in solving this issue.

I have a shell script which consists of ten statemnts ( i mean 10 executable statments)...........and if i run that script the 10 statmenst will execute continously ............

But now my probelm is i have to write another script --> to execute theses statmensts whihc are ther in the first one randomly ........

means instead of executing the executables like 1,2,3 4,--10 .................it has to execute 2,8,9,1 .like this .randomly

i hope i am clear with the question?

Please help me in this