You are here: Edit Mode > Getting Started with EPiServer CMS > Working on the Structure of the Website > Sorting the Page Order in the Menus

Sorting Page Order in Menus

The pages in EPiServer CMS are sorted in the tree structure according to a predefined sort order. By default, the page that has been created most recently is placed at the top of the tree structure. This is used for instance in news listings. There are also other options for sorting, such as alphabetically or by sort index. The last option lets you control the sorting through an index defined on each page.

The sort order is set for the main page of the respective branch, and will be inherited to the sub-pages. The main page is called a parent page. All pages placed directly under a parent are the page’s children and they can be sorted relative to one another.

All pages with a plus or minus in front of the name in the structure are parents. If you point to a page, information on the page and its sort index will appear together with additional information about each page.

Set the sort order as follows:

  1. Select the main (parent) page of the branch in the structure where you want to set the sorting.
  2. Edit the page and select the Settings tab.
  3. Select sorting criteria under Sort order. If you choose to sort according to sort index you will also have to set the sort index for each sub-page, or use drag-and-drop to sort them the way you want.
  4. Save and publish the page.

The pages must be saved and published in order for the selected sorting to take place. For this reason, changes to the sort order cannot be previewed.

Sorting According to Sort Index
Sorting According to Sort Index Manually

 


Last updated: 2011-03-25 | Copyright © EPiServer AB