I guess it may depend on the brand of thermostat you are using.
Generally if it has a small coil spring on one end, the spring is wrapped around the sensor and has to placed towards the engine.
Some thermostats are made a little different, but the larger end usually goes towards the engine, and the flatter end towards the radiator.
Might help to know what brand thermostat you are using.