To get the data in descending order of a particular column (for example columnName, you can run the following code:
const allData = await db.select().from(articlesTable).orderBy(desc(articlesTable.columnName));
You can find examples in the drizzle orm documentation here