Add a weight to the pages in the navigation bar

Sort the pages by weight when displaying them to make the order static.