import difflib


def same_list_order(first, second):
    """
    Return whether the items in the second list appear in the same order as the first list.
    """
    matcher = difflib.SequenceMatcher(a=first, b=second)

    for (opcode, _, _, _, _) in matcher.get_opcodes():
        if opcode in {"insert", "replace"}:
            return False

    return True