def add_survey(surveys, new_survey):
    """
    Add survey to list of surveys then reorder list base on MD, survey list is list of tuples (md, inc, azm, *).
    surveys parameter is existing list. new_surveys parameter is survey to be added. new_surveys should
    be tuple of (md, inc, az). Brute force method for now just recalculates all the surveys since computation
    time is negligible.
    """
    # inject new survey into survey list, then sorting new surveys into list based on MD depth
    surveys.append(new_survey)
    surveys.sort(key=lambda tup: tup[0])  # sorts list in place

    return surveys