Housing affordability compared to other nearby markets and the shortage of homes for sale compared to demand have made the Philly region one of the country’s most competitive markets.