I'm using the REST API to create a report for a custom field. The field is a select list, which means that there is an ordered set of allowed values. Correct ordering of the values is important to the report because they represent sequential stages in a process.
The allowed values are returned in the createmeta JSON for the field. They seem to be in the same order as they appear on the custom field configuration screen, but is this guaranteed?
IOW, is it safe to assume that the first item in the allowedValues JSON array is the first item in the select list, etc.?