diff --git a/server.js b/server.js index 1a3dfcc..48560dc 100644 --- a/server.js +++ b/server.js @@ -734,7 +734,7 @@ function slugify(text) { // GET all upcoming events app.get('/api/upcoming-events', async (req, res) => { try { - const [rows] = await pool.execute('SELECT * FROM upcoming_events ORDER BY sort_order ASC, id DESC'); + const [rows] = await pool.execute('SELECT * FROM upcoming_events ORDER BY sort_order ASC, id ASC'); res.json({ success: true, data: rows