src/view/MainViewManager.js
function _swapWorkingSetListIndexes(paneId, index1, index2) {
        var pane = _getPane(paneId);

        pane.swapViewListIndexes(index1, index2);
        exports.trigger("workingSetSort", pane.id);
        exports.trigger("_workingSetDisableAutoSort", pane.id);
    }
function _swapWorkingSetListIndexes(paneId, index1, index2) {
        var pane = _getPane(paneId);

        pane.swapViewListIndexes(index1, index2);
        exports.trigger("workingSetSort", pane.id);
        exports.trigger("_workingSetDisableAutoSort", pane.id);
    }
function _swapWorkingSetListIndexes ( paneId , index1 , index2 ) { var pane = _getPane ( paneId ) ; pane . swapViewListIndexes ( index1 , index2 ) ; exports . trigger ( "workingSetSort" , pane . id ) ; exports . trigger ( "_workingSetDisableAutoSort" , pane . id ) ; }
Mutually exchanges the files at the indexes passed by parameters.
@param {!string} paneId - id of the pane to swap indices or ACTIVE_PANE
@param {!number} index1 - the index on the left
@param {!number} index2 - the index on the rigth
@private
Mutually exchanges the files at the indexes passed by parameters .