human
I wrote the below code

    ordering_field_columns = cl.get_ordering_field_columns()
    for (i, field_name) in enumerate(cl.list_display):
        (text, attr) = label_for_field(field_name, cl.model, model_admin=cl.model_admin, return_attr=True)
        if attr:
            field_name = _coerce_field_name(field_name, i)
            if (field_name == 'action_checkbox'):
                (yield {'text': text, 'class_attrib': mark_safe('    class="action-checkbox-column"'), 'sortable': False})
                continue
            admin_order_field = getattr(attr, 'admin_order_field', None)
            if (not admin_order_field):
                (yield {'text': text, 'class_attrib': format_html('    class="column-{}"', field_name), 'sortable': False})
                continue
        th_classes = ['sortable', 'column-{}'.format(field_name)]
        order_type = ''
        new_order_type = 'asc'
        sort_priority = 0
        sorted = False
        if (i in ordering_field_columns):
            sorted = True
            order_type = ordering_field_columns.get(i).lower()
            sort_priority = (list(ordering_field_columns).index(i) + 1)
            th_classes.append(('sorted    %sending' % order_type))
            new_order_type = {'asc': 'desc', 'desc': 'asc'}[order_type]
        o_list_primary = []
        o_list_remove = []
        o_list_toggle = []
        def make_qs_param(t, n):
            return (('-' if (t == 'desc') else '') + str(n))
        for (j, ot) in ordering_field_columns.items():
            if (j == i):
                param = make_qs_param(new_order_type, j)
                o_list_primary.insert(0, param)
                o_list_toggle.append(param)
            else:
                param = make_qs_param(ot, j)
                o_list_primary.append(param)
                o_list_toggle.append(param)
                o_list_remove.append(param)
        if (i not in ordering_field_columns):
            o_list_primary.insert(0, make_qs_param(new_order_type, i))
        (yield {'text': text, 'sortable': True,...

What's a good function header?

Here's a good function header?
assistant
#Here's a good function header.

def result_headers(cl):