Given an array of strings `strs`, group the anagrams together. Return the groups with each group sorted ascending and the list of groups sorted, for a deterministic result.