Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/Controller/Admin/DataObject/ClassController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,13 @@ public function objectbrickTreeAction(Request $request, EventDispatcherInterface
}
}

usort($groups, function ($a, $b) {
return strcmp($a['text'], $b['text']);
});
foreach ($groups as $group) {
usort($group['children'], function ($a, $b) {
return strcmp($a['title'], $b['title']);
});
$definitions[] = $group;
}

Expand Down