fix the bug when input chacter has '*'
add a test word list
add a sort script