What is it in sherry cooking wine that makes it less effective in killing bacteria when it has a pH of 3.5, compared to a tomato, with a pH of 3.7. The bacteria is Serratia marcescens. I have been searching for the chemical compositions of both to compare and all I found was that both were antioxdiants, however the tomato conatins citric acid, and I don't think the sherry cooking wine does.

I googgled grape acidity
slightly more than 1/2 way down are your grape acids.

Acids are present naturally in grapes; they're also produced during the fermentation process. The acid content of grapes can be affected by several factors. Climate, for instance, plays a major role. Wines made from grapes grown in hot viticultural regions or during particularly hot seasons have lower levels of acid. Conversely, cooler regions or growing seasons produce wines with a higher acid concentration. Soil is another component affecting the acid concentration in grapes. For example, potassium-deficient soil may produce high-acid grapes. An additional determining factor is the grape variety itself-chenin blanc is intrinsically high in acid, whereas malbec is a relatively low-acid grape. In the proper proportion, acids are desirable-they give wine character much as a dash of vinegar or lemon juice heightens the flavor of many foods. On the other hand, too much acid leaves a sharp, tart taste in the mouth, while too little makes wine seem flat and lifeless. The three primary acids in grapes are tartaric, malic, and citric, all of which are inherent to the fruit. Tartaric acid, the principal organic acid in grapes, contributes crisp flavor and graceful aging to wine. Malic acid, the second principal acid in grapes, gives wine a fruity essence. Citric acid comprises only a fractional amount of a grape's acid. Wine also contains minute to trace amounts of other acids produced during fermentation including: acetic, butyric, capric, caproic, caprylic, carbonic (in sparkling wines), formic, lactic, lauric, propionic, and succinic. The least desirable of these is acetic acid, which-when present in more than a nominal amount-gives wine a sour or vinegary aspect (see acetic; volatile acidity). Volatile acids (such as acetic and butyric) are those that can be altered-for instance, they can evaporate. Fixed acids are fruit acids (such as malic and tartaric) that are organic to the grape. Total acidity, also called titratable acidity, is the sum of the fixed and volatile acids, which is determined by a chemical process called titration. In the United States the total acidity is usually expressed in terms of tartaric acid, even though the other acids are measured. Total acidity is expressed either as a percentage or as grams per liter. In warm growing regions where grape acidity is lower (like California), natural grape acids can legally be added to wine to increase acid levels. This acid adjustment process is called acidification (sometimes acidulation). Less practiced by winemakers is deacidification, the acid adjustment process of lowerering acid in wines through any number of methods including cold stabilization and amelioration. malolactic fermentation also lowers acidity and helps soften the edges of an acidic wine. See also acidic; acidity; ascorbic acid; ph; tartrates.

The reason why sherry cooking wine is less effective in killing bacteria compared to a tomato, despite having a slightly lower pH, may not be solely attributed to its acidity. While both sherry cooking wine and tomatoes are acidic and have similar pH levels, it is important to consider other factors that may affect their antimicrobial properties.

Firstly, the specific type and concentration of acids present in each substance can vary. As mentioned in the information you found, sherry cooking wine is made from grapes, which naturally contain tartaric, malic, and citric acids. These acids contribute to the overall acidity of the wine. On the other hand, tomatoes are known to have citric acid as one of their primary acids. It is possible that the composition and concentration of acids in tomatoes may make them more effective against bacteria compared to sherry cooking wine.

Secondly, other chemical components in tomatoes, aside from acids, may also have antibacterial properties. For example, tomatoes contain various bioactive compounds such as flavonoids, carotenoids, and phenolic compounds, which have been shown to possess antimicrobial activities. These compounds may work synergistically with the acidity of tomatoes to inhibit the growth of bacteria like Serratia marcescens.

To further investigate the antimicrobial properties of sherry cooking wine and tomatoes, it would be helpful to examine scientific studies that specifically focus on these topics. These studies can provide more detailed information about the chemical compositions of both substances and their effects on different types of bacteria.