diff --git a/lib/Form/Type/ContentType/FieldTypeChoiceType.php b/lib/Form/Type/ContentType/FieldTypeChoiceType.php index 273f4d183..8ab8d11ac 100644 --- a/lib/Form/Type/ContentType/FieldTypeChoiceType.php +++ b/lib/Form/Type/ContentType/FieldTypeChoiceType.php @@ -69,7 +69,7 @@ private function getFieldTypeChoices() $choices[$this->getFieldTypeLabel($fieldTypeIdentifier)] = $fieldTypeIdentifier; } - asort($choices, SORT_NATURAL); + ksort($choices, SORT_NATURAL); return $choices; }