Which object has more thermal energy?

 - a pot of spaghetti sauce at a temperature of 70°C
 - a pot of spaghetti sauce at a temperature of 80°C
The two pots of spaghetti sauce have the same mass but different temperatures. Since the 80°C pot of spaghetti sauce is hotter than the 70°C pot of spaghetti sauce, it has more thermal energy.