Eng 6328 large joins

Naming suggestion: getJoinOrders --> getJoinOrder