Use normal sorting for zones, no fancy one. Requested via #52, and I agree

This commit is contained in:
Mark Schouten 2015-09-17 21:28:30 +02:00
parent cc9b227a70
commit 5f4d71698e

View file

@ -302,7 +302,7 @@ function compareName($a, $b) {
} }
function zone_compare($a, $b) { function zone_compare($a, $b) {
if ($cmp = compareName($a['name'], $b['name'])) return $cmp; if ($cmp = strnatcasecmp($a['name'], $b['name'])) return $cmp;
return 0; return 0;
} }