Which object has more thermal energy?

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