from typing import List


def domain_param_list_from_dict(dp_dict: dict, dp_mapping: dict) -> List:
    """
    Map a dict of domain parameter keys and its values to a list which has the same ordering as `dp_mapping`.
    :param dp_dict: A dict assigning a value to a domain-parameter name.
    :param dp_mapping: A dict assinging a domain-paramter name to an integer. The integer specifies the order in which
                       the domain parameter should be listed
    :return: Ordered list of the `dp_dict` values based on the dp_mapping
    """
    return [dp_dict[dp_mapping[val]] for val in sorted(dp_mapping.keys())]