Skip to content

Enums are ALWAYS sorted #2401

Description

@patrickdejong

As shown in the image below: image

Enums will always be sorted on their name alphabetically. This will lead to unexpected behaviour with values being swapped.

enum RandomDay{
Monday,
Tuesday,
Friday,
Sunday
}

will become:

enum RandomDay{
Friday,
Monday,
Sunday,
Tuesday
}

So the values do not match anymore. Could you make it an option to enable the alphabetic sorting?

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions