Talk:Carriage Renumbering Guide
Add topicLatest comment: 9 years ago by FarleyBrook in topic Template:Aligned table
Sorting numerals problem[edit]
"Wikitable sortable" won't sort 1, 2, and 3 digits numbers properly.
Leading zeros need to be inserted, such as 005 instead of 5.
What is needed in a special code, like (No Break SPace), such as &lz; , which
- sorts as if leading zero(s) are present;
- prints space(s) as if leading zeros are absent.
- etc., FarleyBrook (talk) 02:37, 23 August 2015 (UTC)
Template:Aligned table[edit]
This template contains some examples of "wikitable sortable", but do not specifically address the numeral sorting problem. FarleyBrook (talk) 03:24, 23 August 2015 (UTC)
U | # | l |
---|---|---|
A | 1 | a |
D | 150 | k |
Z | 2 | b |
U | #V | # | #Z | L | L2 |
---|---|---|---|---|---|
A | Van 1 | 1 | 001 | a | V001 |
BB | Car 1 (2nd) | 1 | 001 | aa | C001 (2nd) |
ZZ | Van 15 | 15 | 015 | h | V015 |
CC | Car 15 | 15 | 015 | dd | C015 |
Z | Van 2 | 2 | 002 | B5 | V002 |
E | Car 1 (1st) | 1 | 001 | C | C001 (1st) |
XA | Car 101 | 101 | 101 | P | C101 |
GG | Van 4 | 4 | 002 | V | V004 |
K | Van 13 | 13 | 013 | fg | V013 |
W | Wag 15 | 15 | 015 | w1 | W015 |
CC | Car 4 | 4 | 004 | cd | C004 |
W2 | Wgn 2 | 2 | 002 | ff | W002 |
B | Van 1.4 | 1.4 | 001.4 | be | V001.4 |
- Column "#V" does not sort numerals properly
- Column "#Z" DOES sort properly because of leading zeros.
- Column "#" DOES sort properly as numerals
- Column "L2" DOES sort alphanumerically
- Need &lz; like