modified the order of links