I am currently a student at University D, and I am writing a computer-science paper as the first author. The paper, however, has no connections whatsoever with University D. Instead, all of my research was done as part of an internship at University T, and the corresponding author (my advisor) is also from University T.
I am planning to order the affiliations as follows:
My Name2,*, Advisor's Name1,†
1 University T, 2 University D
And label on the footnotes:
* Research done in internship with University T.
† Corresponding Author
My question is: is this allowed in computer science? It is obviously the only logical choice to make University T the first affiliation of the paper, so the question can also be framed as follows:
Must the first affiliation of the paper be the affiliation of the first author?