def METHOD_NAME(
    parameters: List[GlobalParameter], async_mode: bool
) -> List[str]:
    return [
        p.signature(async_mode)
        for p in sorted(parameters, key=lambda p: p.required, reverse=True)
    ]