Take this code and givee complete js code. Do only two things and make no changes, Limit the words to seven that I have explained you before. Correct the result count. A word can be dropped in wrong topic, but it will be counted wrong. I am giving you code every thing of the code is well. Only change two things 1) number of the words must maximum 7. Result count is not correct. It always show 0/y. Only js file code I will replace it Sorting Activity
Consider this code