allowedValues are returned in wrong order

Description

Returned from REST API endpoint (https://alan-prod-jsd.atlassian.net//rest/api/3/issue/createmeta?expand=projects.issuetypes.fields) `allowedValues` are in wrong order (screenshot)

in comparison to the administration/configuration panel of the project (screenshot)

ACTUAL RESULT:
values returned from REST API endpoint https://alan-prod-jsd.atlassian.net//rest/api/3/issue/createmeta?expand=projects.issuetypes.fields in `allowedValues` array - are ordered in undefined way

EXPECTED RESULT:
values returned from REST API endpoint https://alan-prod-jsd.atlassian.net//rest/api/3/issue/createmeta?expand=projects.issuetypes.fields in `allowedValues` array - ordered as in the configuration in /secure/admin/EditCustomFieldOptions!default.jspa?fieldConfigId={fieldConfigId}&currentOptions={currentOptions}

Environment

None

Assignee

Beata Szturemska

Reporter

Alan Leszczuk

Labels

None
Configure