|
@@ -217,11 +217,13 @@ export default {
|
|
|
rQuestion.answer = rQuestion.answer.map(
|
|
|
(ans) => optionMap[ans]
|
|
|
);
|
|
|
+ rQuestion.answer.sort((a, b) => a - b);
|
|
|
}
|
|
|
if (rQuestion.studentAnswer) {
|
|
|
rQuestion.studentAnswer = rQuestion.studentAnswer.map(
|
|
|
(ans) => optionMap[ans]
|
|
|
);
|
|
|
+ rQuestion.studentAnswer.sort((a, b) => a - b);
|
|
|
}
|
|
|
}
|
|
|
return rQuestion;
|