Compare commits

..

No commits in common. "b8c49f971137d41afe5f7519365c9864e9b18f06" and "9c49a2b86b84e3841070661655bfc0c4bce6d7c8" have entirely different histories.

View file

@ -135,6 +135,17 @@ class language_file_helper
*/
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;
}
}
}