3 ms·
Hmm, then maybe the easiest solution is to sort numerically by unicode code point, and accept that combining characters will look weird. Or are there problems
by kbenson 10y ago
Hmm, then maybe the easiest solution is to sort numerically by unicode code point, and accept that combining characters will look weird.
Or are there problems with that as well that I'm not considering (beyond it being less human readable)?
- seagreen 10y agoI think the way to go is definitely by code point. We don't want to pull any more of the Unicode spec into Son than we have to. Happily sorting is only used to order members within Son objects. Individual strings are never sorted, so there isn't a worry about sorted strings coming out messy.