Added PROPERTY_HINT_ENUM_AUTOSORT to sort enum values in the inspector
This hint allows a better representation of enums - while keeping their index same, they sorted in alphabetical order in the inspector and property editor.
So, we can now add some beauty to their composition like:
I've added this also to GDScript (for named enums):
enum State{
WALK,
ZZZ,
AWAKE
}
export(State, true) var state
will be presented like