tasks/sass_bootstrapper.js
function replaceInArray(array, indexToReplace, indexToInsert) {
        var _removedArray = array.splice(indexToReplace, 1);
        array.splice(indexToInsert, 0, _removedArray[0]);
        return array;
    }
function replaceInArray(array, indexToReplace, indexToInsert) {
        var _removedArray = array.splice(indexToReplace, 1);
        array.splice(indexToInsert, 0, _removedArray[0]);
        return array;
    }
function replaceInArray ( array , indexToReplace , indexToInsert ) { var _removedArray = array . splice ( indexToReplace , 1 ) ; array . splice ( indexToInsert , 0 , _removedArray [ 0 ] ) ; return array ; }
Remove item by its index and place it to another position

@param indexToReplace {number} current item position
@param indexToInsert {number} index where item should be placed
Remove item by its index and place it to another position