Hello @rimaoulleik,
Often the search function of this forum provides solutions, e.g. https://community.kobotoolbox.org/search?context=topic&context_id=20726&q=randomize%20questions&skip_context=true
Also be aware that a full randomised solution will need a combination of NumberOfQuestions! (factor!), e.g. for three questions you will already get 123 = 6 combinations. 1-2-3; 1-3-2; 2-1-3; 2-3-1; 3-1-2; 3-2-1;
For 15 questions you would have 15! (factor!) = 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 x 10 x 11 x 12 x 13 x 14 x 15 = 1 307 674 368 000 possible combinations.