မာတိကာသို့ ခုန်သွားရန်

မဝ်ဂျူ:Hrkt-sortkey/data

နူ ဝိက်ရှေန်နရဳ

This module will sort text in the အက္ခရ်ကာနာ. 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 မဝ်ဂျူ:Hrkt-sortkey/data/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.

local data = {}

data.spaces = {
	["・"] = " ", ["゠"] = " ", ["="] = " "
}

data.voicing = {
	["゙"] = 1, ["゚"] = 2
}

return data