def list_alignment(list1, list2, missing=False):
    import utool as ut
    item1_to_idx = make_index_lookup(list1)
    if missing:
        sortx = ut.dict_take(item1_to_idx, list2, None)
    else:
        sortx = ut.take(item1_to_idx, list2)
    return sortx