Template:Sort/doc

This template is used to sort files or pages in a category which have a progressive numeration up to two or more digits. This is used to avoid that "Page 20" will be sorted after "Page 100", since the system doesn't consider the number as a whole but rather each digits when sorting.
 * Description

The page or files must have a title in the form, the template will sort the page making the number   a four-digits one, adding zeros where necessary. Existing in-page sort-key will overwritten the template one, so they must be removed. Sadly, the  magic word cannot read template parameters, so they cannot be added in it.
 * Notes

Type Sort in the page.
 * Syntax


 * Samples
 * will be sorted as.
 * will be sorted as.
 * will be sorted as.


 * See Also
 * The original template.
 * StringFunctions
 * Help:Magic words