enforcing specification of either dfs or bfs traversal for connected sequential ordering strategy