Organize terms

Pages: 12
Sorry, @victorio, but you keep changing your requirements (and explaining them very badly). I'm out of this thread for now.
The key to this problem is recognizing that while you're counting items, you want to lookup by term, but when you're sorting, you sort by count.

I have to do this kind of thing all the time at work. You can do it on the UNIX command line with:
sort yourFile | uniq -c | sort -n
Topic archived. No new replies allowed.
Pages: 12