def input_date_comparison(user_input1, user_input2):
    """
    Validate user input dates for comparisons between first and last dates
    asking user to reenter dates if first date greater than last date

    Parameters:
    user_input1 (str): First date inputed
    user_input2 (str): First date inputed

    Returns:
    User input prompt until valid dates are returned
    """
    while True:
        if int(user_input1) > int(user_input2):
            print(f'\nSTART date of {user_input1} greater than LAST date of {user_input2}')
            user_input1 = input(f'Please reenter START date: ')
            user_input2 = input(f'Please reenter LAST date: ')
        else:
            break
    print(f'Success! START date of {user_input1} is less than or equal to LAST date of {user_input2}')
    return user_input1, user_input2