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.
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);
        });
    }
}