If you're buying a home, should you start by finding the perfect house or sorting out your finances first?