Groupon Interview Question

Given an array of strings, create an array of arrays, with each inner array containing anagrams.