sorting tokens in context store

sorting input text tokens

sorting tokens in context Store
bug fix- summing real counts for total Token Counts
refactoring total token count loop

rewritting loop

adding qc non-sense
removing useless arithmeticException
Merge pull request #266 from dav009/fix-token-order

Bugfixes for context scores -  Issue #265