Template:Chrfn/sorting

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

|- | {{{1}}} || p˚ |-

| {{{1}}} || p˚1

Template documentation[view] [edit] [history] [purge]

JavaScript sorting[edit]

JavaScript sorting changes upper case characters to lower case, and then sorts ASCIIbetical, i.e. in terms of the codes used here: 31/32, 33-64, 91-95, 1/65-26/90, 27-30, 96-99.

The HTML is with one or two times 31 or 32 just like shown: one space, except for two times 31, giving a paragraph. Therefore a single 31 is in the same sorting position as one 32, but 31 31 comes before 32 32.

code character
32 p 2
2 times 31 p

1

2 times 32 p 1
2 times 31 p

2

2 times 32 p 2
01 pa
01 pa1
02 pb
02 pb1
03 pc
03 pc1
04 pd
04 pd1
05 pe
05 pe1
06 pf
06 pf1
07 pg
07 pg1
08 ph
08 ph1
09 pi
09 pi1
10 pj
10 pj1
11 pk
11 pk1
12 pl
12 pl1
13 pm
13 pm1
14 pn
14 pn1
15 po
15 po1
16 pp
16 pp1
17 pq
17 pq1
18 pr
18 pr1
19 ps
19 ps1
20 pt
20 pt1
21 pu
21 pu1
22 pv
22 pv1
23 pw
23 pw1
24 px
24 px1
25 py
25 py1
26 pz
26 pz1
27 p{
27 p{1
28 p|
28 p|1
29 p}
29 p}1
30 p~
30 p~1
31 p
31 p 1
32 p
32 p 1
33 p!
33 p!1
34 p"
34 p"1
35 p#
35 p#1
36 p$
36 p$1
37 p%
37 p%1
38 p&
38 p&1
39 p'
39 p'1
40 p(
40 p(1
41 p)
41 p)1
42 p*
42 p*1
43 p+
43 p+1
44 p,
44 p,1
45 p-
45 p-1
46 p.
46 p.1
47 p/
47 p/1
48 p0
48 p01
49 p1
49 p11
50 p2
50 p21
51 p3
51 p31
52 p4
52 p41
53 p5
53 p51
54 p6
54 p61
55 p7
55 p71
56 p8
56 p81
57 p9
57 p91
58 p:
58 p:1
59 p;
59 p;1
60 p<
60 p<1
61 p=
61 p=1
62 p>
62 p>1
63 p?
63 p?1
64 p@
64 p@1
65 pA
65 pA1
66 pB
66 pB1
67 pC
67 pC1
68 pD
68 pD1
69 pE
69 pE1
70 pF
70 pF1
71 pG
71 pG1
72 pH
72 pH1
73 pI
73 pI1
74 pJ
74 pJ1
75 pK
75 pK1
76 pL
76 pL1
77 pM
77 pM1
78 pN
78 pN1
79 pO
79 pO1
80 pP
80 pP1
81 pQ
81 pQ1
82 pR
82 pR1
83 pS
83 pS1
84 pT
84 pT1
85 pU
85 pU1
86 pV
86 pV1
87 pW
87 pW1
88 pX
88 pX1
89 pY
89 pY1
90 pZ
90 pZ1
91 p[
91 p[1
92 p\
92 p\1
93 p]
93 p]1
94 p^
94 p^1
95 p_
95 p_1
96
96 p±1
97
97 p×1
98
98 pé1
99 p•
99 p•1