Link2 is purely cosmetic. It always is at the end no matter what.
To add a new link it should be simple as creating a link object and setting the index to where you want it.
So if the front has an index of 0 and the next link has a index of 1 you could give the new one an index of 0.5 to add it to the front.
Index can be any value, just as long one is greater than the previos