fixed sorting, added known kanji functions