I know I can claim moving expenses if I move because of a new job. But does the sequence of events matter?
While I'm doing interviews, I'd like to sell my house and buy my new house in the new city. It is possible that not all those things will be in the correct sequence (1. new job signing, 2. sell old house, 3. buy new house).
Does the order of events matter? Perhaps none of it matters as long as it's all done inside the same calendar year? (I'm hoping this is the case.)
Any relevant information on this would be appreciated.