fieldnames = ['university'] + sorted(years)
with open('university_nominations.csv', 'w', newline='') as csvfile:
    writer = csv.DictWriter(csvfile, fieldnames)
writer.writeheader()
for university, nominations in list(universityDict.items()):
    row = {'university': university}
row.update(nominations)
writer.writerow(row)
python nested dict to csv with many columns