Code

graph: Sort group names after grouping to ensure consistent output.