CKEDITOR.on( 'instanceReady', function( ev ) {
ev.editor.dataProcessor.writer.sortAttributes = 0;
});
will disable attribute sorting for all editor instances on the page. This is not covered anywhere in CKEditor docs and was found by reviewing editor instance object.