{{*order}}
Decorator that sorts a list so an {{#each}} block iterates it in a defined order. Place the decorator inside the each block and iterate @orderedList instead of the original list.
The direction is asc (ascending) or desc (descending).
{{#each @orderedList~}}{{*order list attribute asc|desc}}...{{/each}}Example
Section titled “Example”Iterating data items in their ordinal order:
{{#each @orderedList~}}{{*order dataItems ordinalPosition asc~}}{{ordinalPosition}}. {{name}}{{/each}}To filter a list instead, use the {{*filter}} decorator.