$regions = get_categories_array( apply_filters('glm_getListForSearch', 'region'), 'region');
$cities = get_categories_array( apply_filters('glm_getListForSearch', 'city'), 'city');
$counties = get_categories_array( apply_filters('glm_getListForSearch', 'county'), 'county');
+
+ uasort($counties, function ($item1, $item2) {
+ if ($item1['name'] == $item2['name']) return 0;
+ return $item1['name'] < $item2['name'] ? -1 : 1;
+ });
+
+
$parks = get_categories_array( apply_filters('glm_getListForSearch','category', "Parks"), 'category');
$activities = get_categories_array( apply_filters('glm_getListForSearch','category', "Activities"), 'category');
$destinations = get_categories_array( apply_filters('glm_getListForSearch','category', "Destinations"), 'category');
};
- sortDropDownListByText('county-search', true);
-
-
- sortDropDownListByText('county-search', false);
+// sortDropDownListByText('county-search', true);
+//
+//
+// sortDropDownListByText('county-search', false);
};
- sortDropDownListByText('county-search', true);
-
-
- sortDropDownListByText('county-search', false);
+// sortDropDownListByText('county-search', true);
+//
+//
+// sortDropDownListByText('county-search', false);