human
Here's a good function header given the following:
I wrote the below code

    category = {}
    for idx in range(len(response_headers)):
        (key, val) = response_headers[idx]
        head = get_header(key, strict)
        if (not head):
            newhead = '-'.join([x.capitalize() for x in key.replace('_', '-').split('-')])
            response_headers[idx] = (newhead, val)
            category[newhead] = 4
            continue
        response_headers[idx] = (str(head), val)
        category[str(head)] = head.sort_order
    def key_func(item):
        value = item[0]
        return (category[value], value)
    response_headers.sort(key=key_func)

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

def normalize_headers(response_headers, strict=True):