diff --git a/b2-include/b2functions.php b/b2-include/b2functions.php index 9fdd644416..2c4caec5df 100644 --- a/b2-include/b2functions.php +++ b/b2-include/b2functions.php @@ -568,7 +568,7 @@ function profile($user_login) { function dropdown_categories($blog_ID=1, $default=1) { global $postdata,$tablecategories,$mode,$querycount, $wpdb; - $query="SELECT * FROM $tablecategories"; + $query="SELECT * FROM $tablecategories ORDER BY cat_name"; $results = $wpdb->get_results($query); ++$querycount; $width = ($mode=="sidebar") ? "100%" : "170px";