src/sap.ui.core/src/sap/ui/core/XMLTemplateProcessor.js
function syncStrategy(node, oAggregation, mAggregations) {
			var childNode,
				vChild,
				aChildren = [];

			for (childNode = node.firstChild; childNode; childNode = childNode.nextSibling) {
				vChild = fnCallback(node, oAggregation, mAggregations, childNode);
				if (vChild) {
					aChildren.push(unwrapSyncPromise(vChild));
				}
			}
			return SyncPromise.resolve(aChildren);
		}
function syncStrategy(node, oAggregation, mAggregations) {
			var childNode,
				vChild,
				aChildren = [];

			for (childNode = node.firstChild; childNode; childNode = childNode.nextSibling) {
				vChild = fnCallback(node, oAggregation, mAggregations, childNode);
				if (vChild) {
					aChildren.push(unwrapSyncPromise(vChild));
				}
			}
			return SyncPromise.resolve(aChildren);
		}
function syncStrategy ( node , oAggregation , mAggregations ) { var childNode , vChild , aChildren = [ ] ; for ( childNode = node . firstChild ; childNode ; childNode = childNode . nextSibling ) { vChild = fnCallback ( node , oAggregation , mAggregations , childNode ) ; if ( vChild ) { aChildren . push ( unwrapSyncPromise ( vChild ) ) ; } } return SyncPromise . resolve ( aChildren ) ; }
sync strategy ensures processing order by just being sync
sync strategy ensures processing order by just being sync