making ordering of links consistent with titles