Sort helper function not working

macevoy
Community Member

I am attempting to rewrite, in New Quizzes, some formula questions that I've composed in Classic Quizzes.  The formula syntax I've used previously in Classic Quizzes all works fine except for the sort() function.  In Classic Quizzes the expression

newlist = sort(list)

will fill newlist with the values of list, sorted from low to high.  In New Quizzes, this produces an "Invalid formula" error.  Strangely, the reverse() helper function, which also takes and produces a list, works exactly as it did in Classic Quizzes.  

Did sort() get dropped from New Quizzes?

0 Likes
Users who also had this question