https://compconfig.ru/wp-content/uploads/2019/07/Extract-pages-in-the-following-order.png