sequelize find one order by code example
Example 1: sequelize order by
order: [["createdAt", "DESC"]]
Example 2: sequelize order by
Users.findAll({ order: [['updatedAt', 'DESC']]});
Example 3: sequelize .all()
yourTableModel.findAll({
//optional filters
where: {},
raw: true,
})