• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Sort list

  • Template
  • Talk
  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:Sort list

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
The above documentation is transcluded from Template:Sort list/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Sort_list&oldid=1038295584"
Last edited on 11 August 2021, at 17:59

Languages

    • Bosanski
    • 한국어
    • Bahasa Indonesia
    • Italiano
    • മലയാളം
    • Bahasa Melayu
    • Türkçe
    • Tiếng Việt
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 11 August 2021, at 17:59 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop