def determine_attributes(desc, targ, miss=None):
    """
    Determine the entire list of attributes.
    """
    if miss is None:
        miss = []
    atts = list(set(desc).union(targ).union(miss))
    atts.sort()
    return atts
