We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8522a9e commit 708bcb6Copy full SHA for 708bcb6
1 file changed
components/ILIAS/Dashboard/Block/classes/class.ilDashboardBlockGUI.php
@@ -515,10 +515,14 @@ public function getItemGroups(): array
515
case ilPDSelectedItemsBlockConstants::SORT_BY_START_DATE:
516
return $this->groupItemsByStartDate();
517
case ilPDSelectedItemsBlockConstants::SORT_BY_TYPE:
518
- return $this->groupItemsByType();
+ $groups = $this->groupItemsByType();
519
+ ksort($groups, SORT_NATURAL);
520
+ return $groups;
521
case ilPDSelectedItemsBlockConstants::SORT_BY_LOCATION:
522
default:
- return $this->groupItemsByLocation();
523
+ $groups = $this->groupItemsByLocation();
524
525
526
}
527
528
0 commit comments