need algorithm help, sorting groups of text by comparing words

Printable View