diff --git a/database/scores/seasons.js b/database/scores/seasons.js index 381d064..f787ade 100644 --- a/database/scores/seasons.js +++ b/database/scores/seasons.js @@ -32,7 +32,7 @@ async function remove(id) { async function retrieveAll() { const query = `SELECT * FROM scores.seasons - ORDER BY school_year;`; + ORDER BY school_year DESC;`; const table = await database.executeQuery(query); const seasonsList = [];