The group by
and into
can use custom comparers to separate groups.
These samples use the following custom comparer. It compares two strings to see if they are anagrams. (Anagrams are pairs of words formed from the same letters.)
Next: Nested groupings with a custom comparer » Previous: Groupings «