3126 | | if ( $a["continent"] == $b["continent"] && $a["city"] == $b["city"] ) |
3127 | | return strnatcasecmp($a["subcity"], $b["subcity"]); |
3128 | | elseif ( $a["continent"] == $b["continent"] ) |
3129 | | return strnatcasecmp($a["city"], $b["city"]); |
| 3126 | $a_continent = translate($a["continent"]); |
| 3127 | $b_continent = translate($b["continent"]); |
| 3128 | $a_city = translate($a["city"]); |
| 3129 | $b_city = translate($b["city"]); |
| 3130 | $a_subcity = translate($a["subcity"]); |
| 3131 | $b_subcity = translate($b["subcity"]); |
| 3132 | if ( $a_continent == $b_continent && $a_city == $b_city ) |
| 3133 | return strnatcasecmp($a_subcity, $b_subcity); |
| 3134 | elseif ( $a_continent == $b_continent ) |
| 3135 | return strnatcasecmp($a_city, $b_city); |