diff --git a/typo3/sysext/core/Classes/Tree/TableConfiguration/DatabaseTreeDataProvider.php b/typo3/sysext/core/Classes/Tree/TableConfiguration/DatabaseTreeDataProvider.php
index b5615225c4983f81c05d6a5e8b7385c2b7101298..27974deb965c2a43d2198dbf2ee25aa0ca27761b 100644
--- a/typo3/sysext/core/Classes/Tree/TableConfiguration/DatabaseTreeDataProvider.php
+++ b/typo3/sysext/core/Classes/Tree/TableConfiguration/DatabaseTreeDataProvider.php
@@ -269,9 +269,12 @@ class DatabaseTreeDataProvider extends AbstractTableConfigurationTreeDataProvide
             $node->setHasChildren(true);
             /** @var $childNodes \TYPO3\CMS\Backend\Tree\SortedTreeNodeCollection */
             $childNodes = GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Tree\SortedTreeNodeCollection::class);
+            $tempNodes = [];
             foreach ($basicNode->getChildNodes() as $child) {
-                $childNodes->append($this->buildRepresentationForNode($child, $node, $level + 1));
+                $tempNodes[] = $this->buildRepresentationForNode($child, $node, $level + 1);
             }
+            $childNodes->exchangeArray($tempNodes);
+            $childNodes->asort();
             $node->setChildNodes($childNodes);
         }
         return $node;