Home sales rose for the third month in a row in December