Query config

Sort inputs before outputs:

    ...,
    config_in,
    responses_out,
    ....