DOCS-960 optimizer logic for ordered and unordered plans

also removed some residual wiki links