DOCS-960 optimizer logic for ordered and unordered plans
DOCS-960 optimizer logic- copy edit, remove errant the
merge: DOCS-960