Ty Gibbs swept the first two stages as Sunday's NASCAR Cup Series race reached the halfway mark at Sonoma Raceway.