Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE school ( school_id text, school_name text, location text, mascot text, enrollment number, ihsaa_class text, ihsaa_football_class text, county text )
TABLE: CREATE TABLE budget ( school_id number, year number, budgeted number, total_budget_percent_budgeted number, invested number, total_budget_percent_invested number, budget_invested_percent text )
TABLE: CREATE TABLE endowment ( endowment_id number, school_id number, donator_name text, amount number )

### Question ###
List the name, IHSAA Football Class, and Mascot of the schools that have more than 6000 of budgeted amount or were founded before 2003, in the order of percent of total invested budget and total budgeted budget.

### Accurate SQL ###

SELECT T1.school_name, T1.mascot, T1.ihsaa_football_class FROM school AS T1 JOIN budget AS T2 ON T1.school_id = T2.school_id WHERE budgeted > 6000 OR year < 2003 ORDER BY T2.total_budget_percent_invested, T2.total_budget_percent_budgeted