Template:Array sort

From Mount Wiki

Jump to: navigation, search


[edit] Template documentation

What it does

This function alphabetically sorts an enumeration that is offered to the function. Values have to separated using a comma.

Usage

The syntax is
{{Array_sort|Value1, Value2, Value3}}
. Some examples:
  • {{Array_sort|Value1, Value2, Value3}} gives Value1, Value2, Value3
  • {{Array_sort|Zebra, Elephant, Giraffe}} gives Elephant, Giraffe, Zebra
  • {{Array_sort|z,y,x,w,v,u,t,s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a}} gives a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z
Personal tools
Writing an article
Social links
Translate
Sponsors