diff --git a/includes/controller/shifttypes_controller.php b/includes/controller/shifttypes_controller.php index 800034fc..0f1cdfe4 100644 --- a/includes/controller/shifttypes_controller.php +++ b/includes/controller/shifttypes_controller.php @@ -122,7 +122,7 @@ function shifttype_controller() */ function shifttypes_list_controller() { - $shifttypes = ShiftType::all(); + $shifttypes = ShiftType::all()->sortBy('name', SORT_NATURAL | SORT_FLAG_CASE); return [ shifttypes_title(),