groupBySection now discards no-section lines.