For dictionary sort algorithm:
Look up gu3
There are TWO entries (in CeDict) with the same hanzi
(looks like a house with a parallel line above each
So, I'm not sure what sort you use, but I'd like to
have these identical hanzi grouped together (on
consecutive lines) whenever possible.
Some different lookup scenarios:
Exact match : group even if sorted by pinyin
Beginning: match against beginning when sorting by
End: match against end when sorting by hanzi
The last two I'm just "winging", not sure how useful,
but I imagine it would be...