Module:Sort/doc
This is a documentation subpage for Module:Sort. It contains usage information, categories and other content that is not part of the original Module page. |
This module sorts a list of items separates by pipes. After the f (not one of the items) a separator is specified (for the pipe write {{!}}).
Example:
{{#invoke:Sort|f|, |g|p|hi|d|h}}
gives:
d, g, h, hi, p
{{#invoke:Sort|f|{{!}}|g|p|hi|d|h}}
gives:
d|g|h|hi|p
This module is referenced by Help:Sorting.