How does auto-grouping work?

Click the Group button in the editor footer. Dotvault suggests sections based on detected frameworks (Database, Mail, Redis, that sort of thing) and key prefixes. You can deselect any groups you don’t want before applying.