adjusted doc order, fixes #2509