src/project/WorkingSetSort.js
function get(command) {
        var commandID;
        if (!command) {
            console.error("Attempting to get a Sort method with a missing required parameter: command");
            return;
        }

        if (typeof command === "string") {
            commandID = command;
        } else {
            commandID = command.getID();
        }
        return _sorts[commandID];
    }
function get(command) {
        var commandID;
        if (!command) {
            console.error("Attempting to get a Sort method with a missing required parameter: command");
            return;
        }

        if (typeof command === "string") {
            commandID = command;
        } else {
            commandID = command.getID();
        }
        return _sorts[commandID];
    }
function get ( command ) { var commandID ; if ( ! command ) { console . error ( "Attempting to get a Sort method with a missing required parameter: command" ) ; return ; } if ( typeof command === "string" ) { commandID = command ; } else { commandID = command . getID ( ) ; } return _sorts [ commandID ] ; }
Retrieves a Sort object by id
@param {(string|Command)} command A command ID or a command object.
@return {?Sort}
Retrieves a Sort object by id