; and (D) the level of detail and feasibility of the plan for collecting and reporting (or supporting a participating State educational agency, local educational agency, or school in collecting or reporting, as applicable) data by subgroup of students about advanced coursework enrollment and performance. (2) Priorities (A) State educational agency In awarding a grant under subsection (a)(1)(A), the Secretary shall give priority to— (i) States that established memoranda of understanding, as described in section 6(b), with a high percentage of the local educational agencies in the State and covering a high percentage of total students in the State; (ii) States with large gaps in equitable access, enrollment, and performance in advanced coursework across subgroups of students, as described in the grant applications of the State educational agencies; and (iii) States that made recent improvements to equitable participation and performance in advanced coursework among historically underrepresented subgroups of students based on data collection from the Office of Civil Rights of the Department of Education, and demonstrate a need for additional funds to expand improvements. (B) Local educational agency In awarding a grant under subsection (a)(1)(B), the Secretary shall give priority to local educational agencies that have made recent improvements to equitable participation and performance in advanced coursework among historically underrepresented subgroups of students based on data collection from the Office of Civil Rights of the Department of Education. (d) Amount