change the links order