To make sure sort orders are setup correctly for the terms, navigate to:
Core > School > Years & Terms
  1. Change the year dropdown and school level to the appropriate year/school level
  2. Edit the term and school level in question
  3. Make sure the sort orders are ordering correctly (i.e. Quarter 1 has the sort order of 1, Quarter 2 has the sort order of 2, etc.)