diff --git a/core/imageboard/tag.php b/core/imageboard/tag.php index db251823..f81dd5c0 100644 --- a/core/imageboard/tag.php +++ b/core/imageboard/tag.php @@ -124,10 +124,8 @@ class Tag public static function implode(array $tags): string { - sort($tags); - $tags = implode(' ', $tags); - - return $tags; + sort($tags, SORT_FLAG_CASE|SORT_STRING); + return implode(' ', $tags); } /**