def statistics_to_table_data(statistics):
    """Convert a dictionary of statistics data into tuples ready for displaying as a table with the tabulate function."""
    return [
        (k, v["already_there"], v["added"], v["modified"]) for k, v in sorted(statistics.items())
    ]