-- im_category_get_key_value_list -> check if any sort order is defined, if not order by category_id