Hi, my child does not have an ITIN or SSN, but I am planning to apply for an ITIN with IRS. My question is, a filled tax return is required with the W7 ITIN application

Which then comes first? The ITIN application(which you cant do without a filled tax return) or the tax return (which you cant do without the ITIN).?