Sequelize : How to properly order a nested query (with include)

I lost way too much time on this, and if you've already worked with sequelize, you know that sequelize doc isn't really helping.

So, to order a nested query with sequelize, I though this was the correct syntax, according to the documentation :

The order parameter isn't supposed to be inside the query (include), but at the top level.

So this is the correct way to order a nested query :

Privacy Policy