Module talk:Sort

From MediaWiki.org
Jump to navigation Jump to search

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