sequelize/sequelize — pull request #2309 by overlookmotel (2014-09-20 16:12:25+00:00)
Title: Bug fix for hooks

Turns out `Promise.map()` runs on the items in the array in an unpredictable order. Changed to `Promise.each()` instead for serial execution in order of array items.