Need To Sort Column In Japanese Language

Need To Sort Column In Japanese Language

TanushreeTanushree Posts: 1Questions: 1Answers: 0

Hi,

I'm using datatable for my project which is in php.
I have a column in the Japanese language and I want to sort that column in Japanese phonetic syllabaries which have an order:あ、い、う、え、お、か、き、く、け、こ... and on for the fifty traditional distinct sounds (a few of which are obsolete in modern Japanese). This sort order is called 五十音順 (gojuu on jun , or '50-sound order').
Please suggest.

Thanks in Advance,
Tanushree

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,599

    You should be able to use localeCompare as in this plugin here. You could use that Chinese one as a template, and hopefully it'll work.

    Colin

This discussion has been closed.