Jump to content

Module:tet-sortkey/documentation

From Wiktionary, the free dictionary

This module will sort Tetum language text. The module should preferably not be called directly from templates or other modules. To use it from a template, use {{sortkey}}. Within a module, use Module:languages#Language:makeSortKey.

For testcases, see Module:tet-sortkey/testcases.

Functions

makeSortKey(text, lang, sc)
Generates a sortkey for a given piece of text written in the script specified by the code sc, and language specified by the code lang.
When the sort fails, returns nil.

Alphabetic order: a b c d e f g h i j k l m n ñ ng o p r s t u v w x z.