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

    def sort_key(item):
        try:
            idx = invocation_order.index(item)
        except ValueError:
            idx = float('inf')
        return ((not item.is_eager), idx)
    return sorted(declaration_order, key=sort_key)

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

def iter_params_for_processing(invocation_order, declaration_order):