[BUGFIX] Respect rootline order for getPagesTSconfig()