def create_filename(ordering, base_filename, id) -> str:
    """Creates a standard filename

    Args:
        ordering (str): The ordering of the note
        base_filename (str): The base of the filename
        id (str): The id of the note

    Returns:
        str: filename
    """
    if ordering == '':
        filename = base_filename
    else:
        filename = ordering + '_' + base_filename
    if id != '':
        filename = filename + '_' + id + '.md'
    else:
        filename = filename + '.md'
    return filename