This can be done but requires some code changes at your end. Here are some steps (Pseudo code). Hope you find it useful.
1) Edit QR source code and Open quickreportapp.qml. Look for
function initializeFeatureService(errorcode, errormessage, root, cacheName)
2) find
if(fields.editable===true && fields.name!=root.typeIdField) {
var f = fields;
app.fields.push(f);
fieldsMassaged.push(f);
}
3) In this code block,
read the var f, it should be something like:
{
name: "opsstatus",
type: "esriFieldTypeString",
alias: "Operational Status",
domain: {
type: "codedValue",
name: "OperationalStatus",
codedValues: [
{
name: "Open",
code: "Open"
},
{
name: "Closed",
code: "Closed"
},
{
name: "Unknown",
code: "Unknown"
}
]
},
editable: true,
nullable: true,
length: 50
}
3) Sort the codedvales in alphabetical order, put it back to this jsobject