Fixed to support unicode characters & added a function to get sorted sentences

Hello!

I changed codes to support unicode and added a new function to get sorted sentences array from an amount of text.
After merging, can you update this commit to NPM? It will be very helpful to foreigners using unicode like me.

Thank you.