in reply to Re^3: Sorting Vietnamese text
in thread Sorting Vietnamese text

Okay -- the alphabet is only 93 characters per the link in 1068127; you had seven characters extra.

You should clarify what the relation between monosyllables and polysyllables is, and what is the desired collation behaviour between them.

My current tr/// (/d still not doing what I expect it to):

$primary =~
tr(aàảãáạăằẳẵắặâầẩẫấậbcdđeèẻẽéẹêềểễếệfghiìỉĩíịjklmnoòỏõóọôồổỗốộơờởỡớợpqrstuùủũúụưừửữứựvwxyỳỷỹýỵz)
  (0000001111112222223456777777888888abcddddddefghijjjjjjkkkkkkllllllmnopqrrrrrrsssssstuvwwwwwwx)d;

$secondary =~ tr#aàảãáạăằẳẵắặâầẩẫấậbcdđeèẻẽéẹêềểễếệfghiìỉĩíịjklmnoòỏõóọôồổỗốộơờởỡớợpqrstuùủũúụưừửữứựvwxyỳỷỹýỵz#\x00-\x5d#d;