Auto-sort a list (relies on Module:Sort).

Ascending
{{sort|asc|2=
* a
* c
* b
}}
  • a
  • b
  • c
Descending
{{sort|desc|2=
* a
* c
* b
}}
  • c
  • b
  • a