sortPagesById

fun sortPagesById(pageIds: List<String>)

Rearranges the order of pages due to order of passed Page IDs. This is an IO operation and is not recommended to execute in the UI thread.

Throws

if the number of page ids is not equal to the number of pages or can't find page by one of given IDs.