Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

How Do You Sort Chinese Numbers?

· 1 comment · 700 words · Viewed ~1,559 times


Imagine you have a series of number you wish to sort. Sorting is a well known computer science problem - generally speaking you compare one value to the next and then move the item either up or down a list. With "English" characters, that's fairly easy. When a computer sees the character 1 it's really seeing the Unicode character U+0031. When it sees 2 it's really seeing the character U+0032…