I would do it as follows, first, would implement this: - Read a plain text list of word-to-symbols into a sorted list.
Titiang sumandéha, sameton Jawi sané kadi sapunika, punapi jagi nyurat lengkara Baline: sing dadi ngadugngadug anak sirep.