direction of flow of heat is from hot to cold conventionally .it is due to the reason that every system in nature tries to attain minimum energy.A hot cup of coffee gets cool after sometime or stated another way "the temperature of surronding rises".Its up to u how do u look at nature.