def get_ordered_values_from_table_by_key(table, reverse=False):
    """
    Get value list where the value orders are determined by their keys.

    Args:
        table: a table of data
        reverse: value list in a reversed order

    Returns:
        - an ordered list of values
    """
    keys = [_ for _ in table]
    keys.sort(reverse=reverse)
    values = [table[k] for k in keys]
    return values