#1076 Page structure: started implementing sorting of page structure