I have the following enumerate list
\begin{enumerate}
\item question 1
\begin{enumerate}
\item option 1
\item option 2
\item option 3
\item option 4
\end{enumerate}
\item question 2
\begin{enumerate}
\item option 1
\item option 2
\item option 3
\item option 4
\end{enumerate}
\end{enumerate}
I am thinking of randomizing both the orders of questions and options. I tried using randomlist package, and it works perfectly if I only shuffled the order of the questions as follows:
\RandomEnumerateList
{question 1
\begin{enumerate}
\item option 1
\item option 2
\item option 3
\item option 4
\end{enumerate}
}
{question 2
\begin{enumerate}
\item option 1
\item option 2
\item option 3
\item option 4
\end{enumerate}
}
But it seems not to work when putting another \RandomEnumerateList in a \RandomEnumerateList. Is there any way I can tweak my current script to shuffle both the orders of questions and options at the same time?