Numbered titles not in chronological order | VIA Pro for the Web

  • Updated

Product: VIA Pro for the Web
Applies to: Owners and Editors
 

Issue

I added content to my Workspace with titles that begin with numbers.

But when I sort the content by name in ascending or descending order, the numbers are not listed chronologically.

For example: 1, 10, 11, 2, 20, 21, 3

Cause

This is actually working as expected in correct chronological order. Most systems sort in this manner.

The sorting mechanism begins with the first digit.

In the example above, 1 is of course the first digit. But 10 and 11 also begin with 1, so they follow next. The sort then moves on to 2, and so on.

Solution

To sort the structure in the way you are expecting, you'll need to rename the content in the following manner:

01, 02, 03... 10, 11... 20, 21...

Important: If your structure numbering will exceed 100, you must instead use the following numbering convention:

001, 002, 003... 010, 011... 020, 021...

Was this article helpful?