$article_sort
variable
- $article_sort
type
- behavioral
associated template variable
description
This variable specifies the sorting order of articles when multiple articles appear in the same section. Use the name of the element within the articles node of the site.xml file optionally followed by DESC
representing descending (reverse) ordering. If DESC
is omitted, the sort will be ascending.
examples
$article_sort:article_title
$article_sort:article_edited
$article_sort:article_updated DESC
note
- Sort order is culture-sensitive based on the
$culture
in effect. - Sort order is site-wide, meaning you cannot have one section sorting one way and another section sorting another way.