def METHOD_NAME(file_paths: List[str]) -> int:
    heading = "Non-Alphabetically Ordered"
    test = []
    p_prev = ""
    p_prev_dir = ""
    for p in file_paths:
        p_dir = os.path.dirname(p)
        if p_prev:
            if p_dir == p_prev_dir:
                if p < p_prev:
                    test.append((p_prev, p))
        p_prev_dir = p_dir
        p_prev = p
    amount = str(len(test)) if test else "none found"
    print(text_with_title_underline("{:s} ({:s})".format(heading, amount)))
    if not test:
        return 0
    for p_prev, p in test:
        print("-", p, "(should be before)\n ", p_prev)
    return len(test)