Module:tl-sortkey/documentation
Appearance
This module will sort Tagalog භාෂාව text. It is also used to sort Bikol Central, Cebuano, Hiligaynon, Hanunoo, Ilocano, Kankanaey, Kapampangan, සහ Waray-Waray.
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:tl-sortkey/testcases.
Functions
makeSortKey(text, lang, sc)
- Generates a sortkey for a given piece of
text
written in the script specified by the codesc
, and language specified by the codelang
. - 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 q r s t u v w x y z.
Examples
[සංස්කරණය]ANDAR¹
- andar
AN₃¹
- ang
AN₃AL¹
- angal
AN₃AL¹
- ang̃al
ANTALA¹
- antala
AN₂O¹
- Año
BAMBAN¹
- Bamban
BAMBAN₃¹
- Bambang
BANAL¹
- banal
BAN₃A¹
- banga
BAN₃GA¹
- bangga
BATANES¹
- Batanes
BATAN₃AS¹
- Batangas
BIN₂AN¹
- Biñan
BINIBINI¹
- binibini
BINYAG¹
- binyag
BIN₃I¹
- bingi