Which tray of lasagna has less thermal energy?

 - the hotter tray of lasagna
 - the colder tray of lasagna
The two trays of lasagna are made of the same material and have the same mass. So, the colder tray of lasagna has less thermal energy.