Void SortAnswers(int inQuesIdx)
Description
The function sorts the answers by lexicographical order from A-Z
Parameters
The following is a list of parameters the functions receives
Parameter | Type | Description |
---|---|---|
inQuesIndex | Int | the question index |
Return Type
Void
Overloads
List of overloads for this function:
The function sorts the answers by lexicographical order from Z-A
Void SortAnswers(int inQuesIdx, bool inDesc)
Parameter | Type | Description |
---|---|---|
inQuesIdx | Int32 | Target question |
inDesc | bool | "True" or "False" |
Example
- For question 3 the following code will sort the answers by a lexicographical order from A-Z.
SortAnswers(QRef(3)) - For question 4 and with several topics and "true" the following code will sort the topics by a lexicographical order from Z-A.
SortAnswers(QRef(4), true);
Comments
Please sign in to leave a comment.