http://www.perlmonks.org?node_id=1068133


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

Sorry, still doesn't work -- see below. For example, I would expect "ỳ " (note space) to come before "ỳ ạch"

This is what I've been struggling with for a LONG time :)

unsorted
 ỷ : (1) to be fat (said of a pig); (2) to depend on
 ỳ : inertia, state of inactivity, stay out, inert, sluggish
 ỳ ạch : to toil, labor with difficulty
 ỷ eo : reproach someone with something
 ỷ lại : to depend, rely on others
 ỷ thế : count on one’s power, one’s position, one’s influence
 yêu nhau : to love each other, be in love
 yêu quí : precious, valuable

sorted
 ỷ : (1) to be fat (said of a pig); (2) to depend on
 ỳ ạch : to toil, labor with difficulty
 ỷ eo : reproach someone with something
 yêu nhau : to love each other, be in love
 yêu quí : precious, valuable
 ỳ : inertia, state of inactivity, stay out, inert, sluggish
 ỷ lại : to depend, rely on others
 ỷ thế : count on one’s power, one’s position, one’s influence