Is there a "quick" way to change the sort order of new content elements in the type dropdown? It seems, that new content elements are pushed to the end of the array, so they appear at the end of the list.
Current position (at the end of list):
Should be:
At the end of group "Standard".
Question:
Is is possible to register a content element to a specific group like "Standard" or "Lists" or a new group?
P.S.: Content element registered correctly in TCA/Overrides/tt_content and in Page TS Config for Wizard. Let me know if the code should be relevant, I will add it then.
Try out ExtensionManagementUtility::addTcaSelectItem()
and see argument #3 and #4.
If I want to add a custom group at a certain position, I usually loop over $GLOBALS[TCA][tt_content][CType][config][items]
and place it in the right position, if the API is not sufficient in some cases.