I'm interested in two use cases:Re-ordering choices by a field uploaded in a look-up tableRe-ordering choices by a case property in a list of cases specified by a Query Expression [when the Custom Single and Multiple Answer Questions feature preview is turned on]
In CommCare, can you specify the order that choices from a Multiple Choice Lookup Table will appear in? (example: alphabetically by display value)
commcare
For lookup tablesThe order of choices from a Multiple Choice Lookup Table are defined by the order that they are uploaded in. Therefore if you a column in your lookup table that looks like:Color----BlueRedYellowThe choices in the question will appear in that order.For a query expressionXPath unfortunately does not let you specify the order in which your nodes are returned so the order is undefined, but most likely reflects the order that they exist in the database.