Compare commits

..

1 commit

Author SHA1 Message Date
rxu
86e8eb332d
Merge 0e0214a71d into 9c49a2b86b 2025-06-16 02:38:48 +02:00

View file

@ -135,6 +135,17 @@ class language_file_helper
*/ */
private static function sort_by_local_name(mixed $a, mixed $b): int private static function sort_by_local_name(mixed $a, mixed $b): int
{ {
return $a['local_name'] <=> $b['local_name']; if ($a['local_name'] > $b['local_name'])
{
return 1;
}
else if ($a['local_name'] < $b['local_name'])
{
return -1;
}
else
{
return 0;
}
} }
} }