mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-20 20:13:40 +03:00
Use normal sorting for zones, no fancy one. Requested via #52, and I agree
This commit is contained in:
parent
cc9b227a70
commit
5f4d71698e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue