diff --git a/include/renderer.php b/include/renderer.php index 460de41..459e1c9 100644 --- a/include/renderer.php +++ b/include/renderer.php @@ -590,8 +590,8 @@ queryend; protected function sortUserList($userList): array { usort($userList, function($a, $b) { - $nameComparison = stricmp($a['last_name'], $b['last_name']); - return ($nameComparison !== 0) ? $nameComparison : stricmp($a['first_name'], $b['first_name']); + $nameComparison = strcasecmp($a['last_name'], $b['last_name']); + return ($nameComparison !== 0) ? $nameComparison : strcasecmp($a['first_name'], $b['first_name']); }); return $userList; }