Vapor pressure is a criteria for a substance's volatility. This is the ability of a substance to transition from liquid to vapor. When the vapor pressure equals the external pressure, liquid turns to gas. Hence, if the substance has higher vapor pressure, then it is volatile. Therefore, Sample A is more volatile than Sample B.