index.js
function (order, unorderedObj) {
        var orderedObj = [];
        for (var i = 0; i < order.length; i++) {
            orderedObj.push(unorderedObj[order[i]]);
        }
        return orderedObj;
    }
function (order, unorderedObj) {
        var orderedObj = [];
        for (var i = 0; i < order.length; i++) {
            orderedObj.push(unorderedObj[order[i]]);
        }
        return orderedObj;
    }
function ( order , unorderedObj ) { var orderedObj = [ ] ; for ( var i = 0 ; i < order . length ; i ++ ) { orderedObj . push ( unorderedObj [ order [ i ] ] ) ; } return orderedObj ; }
Orders the migrations statements to the specified order, so they can be applied in the right place, at the right time
Orders the migrations statements to the specified order so they can be applied in the right place at the right time