changing the way links are represented, so can change their order