The SF Giants have snuck back into the Wild Card race, as they sit four games behind the San Diego Padres and New York Mets in the standings. However, both the Mets and Padres hold the tiebreaker over the Giants, so they have an edge in this race.
The Padres and Mets have an edge over the SF Giants in the Wild Card standings
If two teams end up with the same record in the playoff standings, then it goes to a simple head-to-head tiebreaker. The team with the better record against the other gets the nod.