$comment_sort
variable
- $comment_sort
type
- behavioral
associated template variable
description
This variable specifies the sorting order of comment posts when multiple comment comments appear for an article. Use the name of an element within the comment node of the wb.xml file optionally followed by DESC
representing descending (reverse) ordering. If DESC
is omitted, the sort will be ascending.
examples
$comment_sort:comment_posted
$comment_sort:comment_posted 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.