The speed of sound diminishes with altitude.
A colder than standard day at altitude will result in a faster speed of sound relative to a standard day at -that- altitude. A hotter than standard day results in a slower speed of sound..
That's backwards. On a hot day the speed of sound is GREATER, and vice versa.
As stated before, the speed of sound depends ONLY on the air temperature. The air density is irrelevant.