diff --git a/src/Content/Widget.php b/src/Content/Widget.php index d355c723ec..5878bc75d2 100644 --- a/src/Content/Widget.php +++ b/src/Content/Widget.php @@ -275,7 +275,9 @@ class Widget $terms[] = ['ref' => $savedFolderName, 'name' => $savedFolderName]; } - asort($terms); + usort($terms, function ($a, $b) { + return strcmp($a['name'], $b['name']); + }); return self::filter( 'file',