¿Cómo logro algo como lo siguiente en Sequelize?
SELECT *, <someSubQueryThatReturnsABool> myFirstBool <someSubQueryThatReturnsABool> mySecondBool FROM MyTable ORDER BY CASE when myBool is true and mySecondBool is false then 1 when myBool is true then 2 END