def pair_all_terms(terms):
    """
    Make a list of tuples for all combinations of terms
    """

    all_term_pairs = []

    for a in range(len(terms)):
        termA = terms[a]

        for b in range(len(terms)):
            termB = terms[b]
            
            if a >= b:
                continue

            else:
                pair = tuple(sorted([termA, termB]))
                all_term_pairs.append(pair)

    return all_term_pairs