1
0
Fork 0
mirror of https://github.com/Findus23/devicedetector.net.git synced 2024-09-19 15:43:46 +02:00

sort properly by case

This commit is contained in:
Lukas Winkler 2019-06-25 20:02:16 +02:00
parent fa14fc4523
commit 65f906ea4e
Signed by: lukas
GPG key ID: 54DE4D798D244853

View file

@ -32,7 +32,7 @@ if ($item->isHit()) {
}
function get_values(array $dict) {
natsort($dict);
natcasesort($dict);
$values = array_values($dict);
return $values;
}