packages/okam-build/lib/processor/helper/builtin.js
function sortDefaultProcessors(processorNames, processors) {
    if (Array.isArray(processorNames)) {
        processorNames.sort((a, b) => {
            a = processors[a];
            b = processors[b];
            return (a.order || 0) - (b.order || 0);
        });
    }
}
function sortDefaultProcessors(processorNames, processors) {
    if (Array.isArray(processorNames)) {
        processorNames.sort((a, b) => {
            a = processors[a];
            b = processors[b];
            return (a.order || 0) - (b.order || 0);
        });
    }
}
Sort the file default processors by the processor order property.

@inner
@param {Array.<string>|string} processorNames the processor names.
@param {Object} processors the builtin processors, the key is processor name,
the value is the processor config information.