def create_query_parameters(filter_expressions: list, sorting_expressions: list) -> dict:
    """
    Create query parameters

    Parameters
    ----------
    filter_expressions: List[dict]
        Filtering parameters [{'name': draft, 'op': gt, 'val':30}]
    sorting_expressions: List[dict]
        Sorting parameters [{'name': height, 'op': asc}]

    Returns
    -------
    dict
        Query parameters for URL
    """
    filter_s = ''
    for query_filter in filter_expressions:
        if not filter_s == '':
            filter_s = filter_s + ','
        if not type(query_filter['val']) == str:
            query_filter['val'] = str(query_filter['val'])
        filter_s = filter_s + query_filter['name'] + '[' + query_filter['op'] + ']' + '=' + query_filter['val']

    sort_str = ''
    for sort_parameter in sorting_expressions:
        if not sort_str == '':
            sort_str = sort_str + ','
        sort_str = sort_str + sort_parameter['op'] + '(' + sort_parameter['name'] + ')'

    parameters = dict()
    if filter_s != "":
        parameters["filter_by"] = filter_s

    if sort_str != "":
        parameters["sort_by"] = sort_str

    return parameters