Stroke order for a, h

In which order are we supposed to write the leading h in head and the leading a in ahead and away? Do we write the a and h first, followed by the rest of the word? When the h is in the middle of a word, we have to write it at end.