where item in ascending order sequelize code example
Example 1: sequelize order by
order: [["createdAt", "DESC"]]
Example 2: sequelize order by
Users.findAll({ order: [['updatedAt', 'DESC']]});
order: [["createdAt", "DESC"]]
Users.findAll({ order: [['updatedAt', 'DESC']]});