Auto-sort a list.

Ascending

{{sort list|asc|2=
* c
* a
* b
}}
  • a
  • b
  • c

Descending

{{sort list|desc|2=
* c
* a
* b
}}
  • c
  • b
  • a