The thermostat sensor is traditionally near the top of the heater so if there were no water current, (ie power filter fails) it is good practice to have the sensor near the top. Heat rises and there can be large differences between the top and bottom of a tank if there is no water movement.