This hook-filter applies for any taxonomies terms in MDTF search forms. Using this hook you can order taxonomies terms in your custom order by: id, name, slug, count, term_group. Read more here: https://developer.wordpress.org/reference/functions/get_terms/#parameters
Example:
1 2 3 | add_filter('mdf_terms_orderby', function($default) { return 'count'; }); |
Read also: https://wp-filter.com/features/mdf_terms_order/