Added weight field to sort subpages