Changes

2 bytes removed ,  11:14, 6 June 2007
Line 380: Line 380:  
The fourth example shows again that "ca. 12" sorts at 0, as opposed to 12 with some text after it, which sorts at 12. In the latter case an invisible "sm=n" needs to be put at the end, in case such an element arrives at the top of a column, which would otherwise cause alphabetic sorting mode.
 
The fourth example shows again that "ca. 12" sorts at 0, as opposed to 12 with some text after it, which sorts at 12. In the latter case an invisible "sm=n" needs to be put at the end, in case such an element arrives at the top of a column, which would otherwise cause alphabetic sorting mode.
   −
Sortable version of {{mlw|Table:Climate in Middle East cities}}, using smn to specify numeric sort mode:
+
Sortable version of {{ml|Table:Climate in Middle East cities}}, using smn to specify numeric sort mode:
 
{| class="wikitable sortable" style="margin-left:.6em;float:right;"
 
{| class="wikitable sortable" style="margin-left:.6em;float:right;"
 
|-
 
|-
Line 829: Line 829:     
==Secondary sortkey==
 
==Secondary sortkey==
If a column contains a value multiple times then sorting the column preserves the order of the rows within each subset that has the same value in that column ({{mlw|Sorting_algorithm|Stability|stable sorting}}). Thus sorting based on a primary, secondary, tertiary, etc. sortkey can be done by sorting the least-significant sortkey first, etc.
+
If a column contains a value multiple times then sorting the column preserves the order of the rows within each subset that has the same value in that column ({{ml|Sorting_algorithm|Stability|stable sorting}}). Thus sorting based on a primary, secondary, tertiary, etc. sortkey can be done by sorting the least-significant sortkey first, etc.
    
'''First click on column Alphabet and then on Numbers, you'll see that the ordering is on Numbers (1), Alphabet (2).'''
 
'''First click on column Alphabet and then on Numbers, you'll see that the ordering is on Numbers (1), Alphabet (2).'''
2,887

edits