Pages structure sorted, button class introduced into link_to